Update von DoorPi mittels PyPi
- motom001
- Geschlossen
-
-
Tolle Sache
-
In dem Zusammenhang:
Wie handhabst Du das eigentlich mit Updates?
Fehlerkorrekturen bzw. neue features zwischendurch machst Du ja nicht, oder?
Also ist ein Update nur nötig, wenn Du es hier bekanntgibst? -
Hier werden die commits in den master-Branch angezeigt:
Github CommitsIch versuche die Commit entsprechend zu beschriften. Eine neue Version hat dann eine passende Überschrift und beinhaltet die changelog seit der letzten Version. Beispiel:
Version: 2.5.0.4 (2016-05-23)Ansonsten gibt es die Changelog auf github:
https://github.com/motom001/DoorPi/blob/master/changelog.txtGrundsätzlich gilt bei jeder Software:
1. never change a running system
2. never run a changing system
3. change a never running system -
Es fehlt:
run a never changing system
LG
pah
-
-
Denkste.
Brainfuck
Alles anzeigenroot@DoorPi:~# pip install --upgrade doorpi Collecting doorpi Downloading DoorPi-2.5.0.4-py2-none-any.whl (107kB) 100% |████████████████████████████████| 112kB 620kB/s Requirement already up-to-date: watchdog>=0.8.3 in /usr/local/lib/python2.7/dist-packages/watchdog-0.8.3-py2.7.egg (from doorpi) Requirement already up-to-date: picamera>=1.10 in /usr/local/lib/python2.7/dist-packages/picamera-1.10-py2.7.egg (from doorpi) Requirement already up-to-date: pifacecommon>=4.1.2 in /usr/local/lib/python2.7/dist-packages/pifacecommon-4.1.2-py2.7.egg (from doorpi) Requirement already up-to-date: pifacedigitalio>=3.0.5 in /usr/local/lib/python2.7/dist-packages/pifacedigitalio-3.0.5-py2.7.egg (from doorpi) Requirement already up-to-date: RPi.GPIO>=0.5.11 in /usr/local/lib/python2.7/dist-packages/RPi.GPIO-0.6.2-py2.7-linux-armv7l.egg (from doorpi) Requirement already up-to-date: pyserial>=2.7 in /usr/local/lib/python2.7/dist-packages/pyserial-3.0.1-py2.7.egg (from doorpi) Collecting requests>=2.7.0 (from doorpi) Downloading requests-2.10.0-py2.py3-none-any.whl (506kB) 100% |████████████████████████████████| 512kB 328kB/s Requirement already up-to-date: PyYAML>=3.10 in /usr/local/lib/python2.7/dist-packages/PyYAML-3.11-py2.7-linux-armv7l.egg (from watchdog>=0.8.3->doorpi) Collecting argh>=0.24.1 (from watchdog>=0.8.3->doorpi) Downloading argh-0.26.2-py2.py3-none-any.whl Requirement already up-to-date: pathtools>=0.1.1 in /usr/local/lib/python2.7/dist-packages/pathtools-0.1.2-py2.7.egg (from watchdog>=0.8.3->doorpi) Installing collected packages: requests, doorpi, argh Found existing installation: requests 2.9.1 Uninstalling requests-2.9.1: Successfully uninstalled requests-2.9.1 Found existing installation: DoorPi 2.5.0.2 Uninstalling DoorPi-2.5.0.2: Successfully uninstalled DoorPi-2.5.0.2 Found existing installation: argh 0.26.1 Uninstalling argh-0.26.1: Successfully uninstalled argh-0.26.1 Successfully installed argh doorpi requests Traceback (most recent call last): File "/usr/local/bin/pip", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 217, in main return command.main(cmd_args) File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 246, in main pip_version_check(session) File "/usr/local/lib/python2.7/dist-packages/pip/utils/outdated.py", line 102, in pip_version_check installed_version = get_installed_version("pip") File "/usr/local/lib/python2.7/dist-packages/pip/utils/__init__.py", line 848, in get_installed_version working_set = pkg_resources.WorkingSet() File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 626, in __init__ self.add_entry(entry) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 682, in add_entry for dist in find_distributions(entry, True): File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 2080, in find_eggs_in_zip if metadata.has_metadata('PKG-INFO'): File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1610, in has_metadata return self.egg_info and self._has(self._fn(self.egg_info, name)) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1968, in _has return zip_path in self.zipinfo or zip_path in self._index() File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1848, in zipinfo return self._zip_manifests.load(self.loader.archive) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1788, in load mtime = os.stat(path).st_mtime OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/usr/local/lib/python2.7/dist-packages/argh-0.26.1-py2.7.egg
Edit: Im 2. Versuch nach einem Upgrade von pip gings dann.
LG
pah