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