-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
40 lines (26 loc) · 871 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
30
31
32
33
34
35
36
37
38
39
40
import sys
import setuptools
from setuptools import setup
__version__ = "0.0"
if sys.version_info < (3, 10):
sys.exit("XGI requires Python 3.10 or later.")
name = "sod"
version = __version__
authors = "Nicholas Landry and Nicole Eikmeier"
author_email = "nicholas.landry@uvm.edu"
description = """Functions and scripts for computing the simpliciality of higher-order datasets."""
def parse_requirements_file(filename):
with open(filename) as fid:
requires = [l.strip() for l in fid.readlines() if not l.startswith("#")]
return requires
install_requires = parse_requirements_file("requirements.txt")
license = "3-Clause BSD license"
setup(
name=name,
packages=setuptools.find_packages(),
version=version,
author=authors,
author_email=author_email,
description=description,
install_requires=install_requires,
)