diff --git a/setup.py b/setup.py index a0b123d..5319668 100644 --- a/setup.py +++ b/setup.py @@ -1,23 +1,27 @@ # setup.py # -*- coding: UTF-8 -*- -try: - from setuptools import setup -except: - from distutils.core import setup + +from setuptools import setup def get_version(): import subprocess rev = subprocess.check_output(['git', 'rev-list', 'HEAD', '--count']).decode().strip() return rev or u'unknown' + setup(name='oxtimelines', - version='0.%s' % get_version() , + version='0.%s' % get_version(), scripts=[ 'bin/oxtimelines', ], packages=[ 'oxtimelines', ], + install_requires=[ + 'numpy', + 'ox', + 'Pillow', + ], author='0x2620', author_email='0x2620@0x2620.org', url="https://wiki.0x2620.org/wiki/oxtimelines",