-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
84 lines (79 loc) · 2.88 KB
/
setup.py
File metadata and controls
84 lines (79 loc) · 2.88 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env python3
"""
Setup script for Quantum Computing 101
This setup script allows the project to be installed as a Python package,
making it easier for users to access utilities and run examples.
"""
from setuptools import setup, find_packages
import os
# Read the README file for long description
def read_readme():
with open("README.md", "r", encoding="utf-8") as fh:
return fh.read()
# Read requirements from file
def read_requirements(filename):
with open(os.path.join("examples", filename), "r", encoding="utf-8") as fh:
return [
line.strip()
for line in fh
if line.strip()
and not line.startswith("#")
and not line.startswith("-r")
]
setup(
name="quantum-computing-101",
version="1.0.0",
author="Quantum Computing 101 Team",
author_email="aicomputing101@gmail.com",
description="A comprehensive quantum computing education platform with 45 hands-on examples and Docker support",
long_description=read_readme(),
long_description_content_type="text/markdown",
url="https://github.com/AIComputing101/quantum-computing-101",
project_urls={
"Bug Tracker": "https://github.com/AIComputing101/quantum-computing-101/issues",
"Documentation": "https://github.com/AIComputing101/quantum-computing-101/tree/main/docs",
"Source Code": "https://github.com/AIComputing101/quantum-computing-101",
"Changelog": "https://github.com/AIComputing101/quantum-computing-101/blob/main/CHANGELOG.md",
},
packages=find_packages(where="examples"),
package_dir={"": "examples"},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Education",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
python_requires=">=3.11",
install_requires=read_requirements("requirements.txt"),
extras_require={
"dev": read_requirements("requirements-dev.txt"),
"full": read_requirements("requirements.txt") + read_requirements("requirements-dev.txt"),
},
entry_points={
"console_scripts": [
"quantum101=utils.cli:main",
],
},
include_package_data=True,
package_data={
"": ["*.md", "*.txt", "*.yml", "*.yaml"],
},
keywords=[
"quantum computing",
"education",
"qiskit",
"quantum algorithms",
"quantum machine learning",
"quantum programming",
"physics",
"tutorial",
],
zip_safe=False,
)