-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
30 lines (27 loc) · 932 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
import io
import os
import sys
from setuptools import setup, find_packages
version_info = {}
with open(os.path.join("src", "relaxit", "_version.py")) as f:
exec(f.read(), version_info)
try:
long_description = open("README.md", encoding="utf-8").read()
except Exception as e:
sys.stderr.write("Failed to read README.md: {}\n".format(e))
sys.stderr.flush()
long_description = ""
setup(
name="relaxit",
version=version_info["__version__"],
license="MIT",
author="Daniil Dorin, Igor Ignashin, Nikita Kiselev, Andrey Veprikov",
author_email="[email protected]",
description="A Python library for discrete variables relaxation",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/intsystems/relaxit",
package_dir= {"": "src"},
packages=find_packages(where="src"),
install_requires=["pyro-ppl>=1.9.1"],
)