add dependencies to install
This commit is contained in:
parent
8fa66491fe
commit
d3a4c0a140
1 changed files with 9 additions and 5 deletions
10
setup.py
10
setup.py
|
@ -1,15 +1,14 @@
|
||||||
# setup.py
|
# setup.py
|
||||||
# -*- coding: UTF-8 -*-
|
# -*- coding: UTF-8 -*-
|
||||||
try:
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
except:
|
|
||||||
from distutils.core import setup
|
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
import subprocess
|
import subprocess
|
||||||
rev = subprocess.check_output(['git', 'rev-list', 'HEAD', '--count']).decode().strip()
|
rev = subprocess.check_output(['git', 'rev-list', 'HEAD', '--count']).decode().strip()
|
||||||
return rev or u'unknown'
|
return rev or u'unknown'
|
||||||
|
|
||||||
|
|
||||||
setup(name='oxtimelines',
|
setup(name='oxtimelines',
|
||||||
version='0.%s' % get_version(),
|
version='0.%s' % get_version(),
|
||||||
scripts=[
|
scripts=[
|
||||||
|
@ -18,6 +17,11 @@ setup(name='oxtimelines',
|
||||||
packages=[
|
packages=[
|
||||||
'oxtimelines',
|
'oxtimelines',
|
||||||
],
|
],
|
||||||
|
install_requires=[
|
||||||
|
'numpy',
|
||||||
|
'ox',
|
||||||
|
'Pillow',
|
||||||
|
],
|
||||||
author='0x2620',
|
author='0x2620',
|
||||||
author_email='0x2620@0x2620.org',
|
author_email='0x2620@0x2620.org',
|
||||||
url="https://wiki.0x2620.org/wiki/oxtimelines",
|
url="https://wiki.0x2620.org/wiki/oxtimelines",
|
||||||
|
|
Loading…
Reference in a new issue