gistillery / setup.py
Benjamin Bossan
Move stuff around, make installable
e6fd86e
import os
from setuptools import setup, find_packages
with open('VERSION', 'r') as f:
version = f.read().rstrip()
with open('requirements.txt') as f:
install_requires = [l.strip() for l in f]
python_requires = '>=3.10'
tests_require = [
'black',
'mypy',
'pytest',
'pytest-cov',
'ruff',
]
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.md')).read()
except IOError:
README = ''
setup(
name='gistillery',
version=version,
description="TODO",
long_description=README,
license='new BSD 3-Clause',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
python_requires=python_requires,
install_requires=install_requires,
extras_require={
'tests': tests_require,
},
)