add dependencies to install
This commit is contained in:
parent
8fa66491fe
commit
d3a4c0a140
1 changed files with 9 additions and 5 deletions
14
setup.py
14
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",
|
||||
|
|
Loading…
Reference in a new issue