add dependencies to install

This commit is contained in:
j 2023-11-18 16:30:10 +01:00
parent 8fa66491fe
commit d3a4c0a140
1 changed files with 9 additions and 5 deletions

View File

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