-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (36 loc) · 1.18 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from setuptools import setup, find_packages
import os
def readme():
with open('README.md', 'r') as fh:
return fh.read()
this_directory = os.path.abspath(os.path.dirname(__file__))
if os.path.exists(os.path.join(this_directory, 'requirements.txt')):
with open(os.path.join(this_directory, 'requirements.txt'), 'r') as f:
requirements = [line.split('#')[0].strip() for line in f.readlines()]
requirements = [line for line in requirements if line]
else:
requirements = []
setup(
name="Syndirella",
version="2.0.1-alpha",
author="Kate Fieseler",
author_email="kate.fieseler@stats.ox.ac.uk",
description="Synthetically directed elaborations",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/kate-fie/syndirella",
packages=find_packages(),
install_requires=requirements,
entry_points={
'console_scripts': [
'syndirella=syndirella.cli:main',
],
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License'
],
python_requires='>=3.10',
include_package_data=True,
zip_safe=False,
)