-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (39 loc) · 1.28 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
41
42
43
44
45
46
from os import path
from setuptools import setup, find_packages
with open(path.join(path.dirname(__file__), "malt", "_version.py")) as f:
version = f.readlines()[-1].split()[-1].strip("\"'")
requirements = [
"astunparse",
"gast",
"termcolor",
]
classifiers = [
"Natural Language :: English",
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
]
description = {
"maintainer": "Xanadu Inc.",
"maintainer_email": "software@xanadu.ai",
"url": "https://github.com/PennyLaneAI/diastatic-malt",
"description": "A library for Python operator overloading",
"long_description": open("README.md").read(),
"long_description_content_type": "text/markdown",
"license": "Apache License 2.0",
}
setup(
name="diastatic-malt",
provides=["malt"],
packages=find_packages(include=["malt", "malt.*"]),
version=version,
python_requires=">=3.9",
install_requires=requirements,
classifiers=classifiers,
**description,
)