Changes for pypi distribution
This commit is contained in:
@@ -20,5 +20,7 @@
|
|||||||
import sys
|
import sys
|
||||||
from .main import main
|
from .main import main
|
||||||
|
|
||||||
|
name = "photobooth"
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
sys.exit(main(sys.argv))
|
sys.exit(main(sys.argv))
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ class CameraProcess(mp.Process):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
||||||
logging.info('Start CameraProcess')
|
logging.debug('Start CameraProcess')
|
||||||
|
|
||||||
CameraModule = lookup_and_import(
|
CameraModule = lookup_and_import(
|
||||||
camera.modules, self._cfg.get('Camera', 'module'), 'camera')
|
camera.modules, self._cfg.get('Camera', 'module'), 'camera')
|
||||||
|
|||||||
3
setup.py
3
setup.py
@@ -126,7 +126,7 @@ setup(
|
|||||||
|
|
||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
|
|
||||||
'Operating System :: POSIX :: Linux',
|
'Operating System :: OS Independent',
|
||||||
|
|
||||||
# Specify the Python versions you support here. In particular, ensure
|
# Specify the Python versions you support here. In particular, ensure
|
||||||
# that you indicate whether you support Python 2, Python 3 or both.
|
# that you indicate whether you support Python 2, Python 3 or both.
|
||||||
@@ -176,6 +176,7 @@ setup(
|
|||||||
'pyqt': ['PyQt5'],
|
'pyqt': ['PyQt5'],
|
||||||
'picamera': ['picamera'],
|
'picamera': ['picamera'],
|
||||||
'gphoto2-cffi': ['gphoto2-cffi'],
|
'gphoto2-cffi': ['gphoto2-cffi'],
|
||||||
|
'dev': ['setuptools', 'wheel'],
|
||||||
},
|
},
|
||||||
|
|
||||||
python_requires='>=3.5',
|
python_requires='>=3.5',
|
||||||
|
|||||||
Reference in New Issue
Block a user