generated from JeremieGince/PythonProject-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (35 loc) · 1.31 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
from setuptools import setup
import setuptools
setup(
name='hps',
long_description='file: README.md',
long_description_content_type="text/markdown",
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.8",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
],
project_urls={
'Homepage': 'https://github.com/QSciTech-QuantumBC-Workshop/TheBeavers-Project',
'Source': 'https://github.com/QSciTech-QuantumBC-Workshop/TheBeavers-Project',
'Documentation': 'https://github.com/QSciTech-QuantumBC-Workshop/TheBeavers-Project',
},
)
# build library
# setup.py sdist bdist_wheel
# With pyproject.toml
# python -m pip install --upgrade build
# python -m build
# publish on PyPI
# twine check dist/*
# twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# twine upload dist/*