-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
40 lines (37 loc) · 1.26 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
import setuptools
import os
import os.path
import importlib.util
# Parse the version file
spec = importlib.util.spec_from_file_location("qcircha", "./qcircha/version.py")
version_module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(version_module)
# Get the readme file
if os.path.isfile("README.md" ):
with open("README.md", "r") as fh:
long_description = fh.read()
else:
long_description = ''
setuptools.setup(
name = "qcircha",
version = version_module.__version__,
author = "Marco Ballarin, Stefano Mangini, Riccardo Mengoni",
author_email = "[email protected]",
description = "Characterization of parametrized quantum circuits",
long_description = long_description,
long_description_content_type = "text/markdown",
url = "https://github.com/mballarin97/MPS-QNN",
project_urls = {},
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
package_dir = {
"qcircha": "qcircha",
"qcircha.entanglement" : "qcircha/entanglement",
#"qcomps.qec" : "qcomps/qec",
},
#packages = setuptools.find_packages(where = "qcmps"),
packages = ['qcircha', 'qcircha.entanglement'],#, 'qcomps.qec'],
python_requires=">=3.6",
)