Changes for pypi distribution

This commit is contained in:
Balthasar Reuter
2018-07-30 16:32:53 +02:00
parent 4d08dba239
commit 238bb796e9
3 changed files with 5 additions and 2 deletions

View File

@@ -20,5 +20,7 @@
import sys
from .main import main
name = "photobooth"
if __name__ == "__main__":
sys.exit(main(sys.argv))

View File

@@ -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')

View File

@@ -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',