-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (30 loc) · 1.24 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
from setuptools import setup, find_packages
# from pkg_resources import parse_requirements
from pip._internal.req import parse_requirements
from pip._internal.network.session import PipSession
# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements("requirements.txt", session=PipSession())
# convert to list
required = [str(ir.requirement) for ir in install_reqs]
setup(
name="ccvm-simulators",
version="1.0.1",
description="Solve continuous non-convex optimization problems with CCVM architectures and simulators",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/1QB-Information-Technologies/ccvm",
author="1QBit",
author_email="[email protected]",
license="GNU Affero General Public License v3.0",
packages=find_packages(),
install_requires=required,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)