forked from alan-turing-institute/scivision
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (26 loc) · 868 Bytes
/
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
#!/usr/bin/env python
from setuptools import find_packages, setup
# read the contents of your README file
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
requirements = []
with open("requirements.txt") as f:
for line in f:
stripped = line.split("#")[0].strip()
if len(stripped) > 0:
requirements.append(stripped)
setup(
name="scivision",
version="0.2.11",
description="scivision",
author="The Alan Turing Institute",
author_email="[email protected]",
url="https://github.com/alan-turing-institute/scivision",
packages=find_packages(),
install_requires=requirements,
python_requires=">=3.7",
include_package_data=True,
long_description=long_description,
long_description_content_type='text/markdown',
)