-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
40 lines (32 loc) · 1.15 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
# Copyright Allo authors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import setuptools
def parse_requirements(filename):
"""Load requirements from a pip requirements file."""
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
def setup():
with open("README.md", encoding="utf-8") as fp:
long_description = fp.read()
setuptools.setup(
name="allo",
description="Allo",
version="0.2",
author="Allo Community",
long_description=long_description,
long_description_content_type="text/markdown",
setup_requires=[],
install_requires=parse_requirements("requirements.txt"),
packages=setuptools.find_packages(),
url="https://github.com/cornell-zhang/allo",
python_requires=">=3.12",
classifiers=[
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: System :: Hardware",
"Operating System :: OS Independent",
],
zip_safe=True,
)
if __name__ == "__main__":
setup()