Support for only kicad-nightly installed.
This commit is contained in:
parent
c9d0e1e03d
commit
347ad65363
|
|
@ -7,9 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.9.0-3] - 2021-02-08
|
||||||
|
### Fixed
|
||||||
|
- Support for only kicad-nightly installed.
|
||||||
|
|
||||||
## [0.9.0-2] - 2021-02-08
|
## [0.9.0-2] - 2021-02-08
|
||||||
### Changed
|
### Changed
|
||||||
- Accept debian-nightly as dependency, not just kicad.
|
- Accept kicad-nightly as dependency, not just kicad.
|
||||||
|
|
||||||
## [0.9.0] - 2021-01-04
|
## [0.9.0] - 2021-01-04
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
|
kibot (0.9.0-3) stable; urgency=medium
|
||||||
|
|
||||||
|
* Support for only kicad-nightly installed.
|
||||||
|
|
||||||
|
-- Salvador E. Tropea <salvador@galadriel.inti.gob.ar> Mon, 08 Feb 2021 19:56:48 -0300
|
||||||
|
|
||||||
kibot (0.9.0-2) stable; urgency=medium
|
kibot (0.9.0-2) stable; urgency=medium
|
||||||
|
|
||||||
* Accept debian-nightly as dependency, not just kicad.
|
* Accept kicad-nightly as dependency, not just kicad.
|
||||||
|
|
||||||
-- Salvador E. Tropea <salvador@inti.gob.ar> Mon, 08 Feb 2021 19:42:44 -0300
|
-- Salvador E. Tropea <salvador@inti.gob.ar> Mon, 08 Feb 2021 19:42:44 -0300
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,9 @@ script_versions = {}
|
||||||
if os.environ.get('KIAUS_USE_NIGHTLY'):
|
if os.environ.get('KIAUS_USE_NIGHTLY'):
|
||||||
# Path to the Python module
|
# Path to the Python module
|
||||||
sys_path.insert(0, '/usr/lib/kicad-nightly/lib/python3/dist-packages')
|
sys_path.insert(0, '/usr/lib/kicad-nightly/lib/python3/dist-packages')
|
||||||
|
else:
|
||||||
|
# Add it as low priority
|
||||||
|
sys_path.append('/usr/lib/kicad-nightly/lib/python3/dist-packages')
|
||||||
try:
|
try:
|
||||||
import pcbnew
|
import pcbnew
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,9 @@ ng_ver = os.environ.get('KIAUS_USE_NIGHTLY')
|
||||||
if ng_ver:
|
if ng_ver:
|
||||||
# Path to the Python module
|
# Path to the Python module
|
||||||
sys.path.insert(0, '/usr/lib/kicad-nightly/lib/python3/dist-packages')
|
sys.path.insert(0, '/usr/lib/kicad-nightly/lib/python3/dist-packages')
|
||||||
|
else:
|
||||||
|
# Add it as low priority
|
||||||
|
sys_path.append('/usr/lib/kicad-nightly/lib/python3/dist-packages')
|
||||||
import pcbnew
|
import pcbnew
|
||||||
m = re.search(r'(\d+)\.(\d+)\.(\d+)', pcbnew.GetBuildVersion())
|
m = re.search(r'(\d+)\.(\d+)\.(\d+)', pcbnew.GetBuildVersion())
|
||||||
logging.debug(pcbnew.GetBuildVersion())
|
logging.debug(pcbnew.GetBuildVersion())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue