-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4382 from jenshnielsen/build/setuptoolspep621
migrate setuptools pep621 config to pyproject.toml
- Loading branch information
Showing
5 changed files
with
116 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
The standard metadata as defined by pep621 has moved from setup.cfg | ||
to pyproject.toml. This should have no user facing consequences unless | ||
you install qcodes from source using a very old version of pip (<19) | ||
or use unusual pip configurations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,96 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 56.0", | ||
"setuptools >= 61.0", | ||
"wheel >= 0.29.0", | ||
"versioningit ~= 1.1.0", | ||
] | ||
build-backend = 'setuptools.build_meta' | ||
|
||
[project] | ||
name = "qcodes" | ||
maintainers = [{name = "QCoDeS Core Developers", email = "[email protected]"}] | ||
description = "Python-based data acquisition framework developed by the Copenhagen / Delft / Sydney / Microsoft quantum computing consortium" | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Topic :: Scientific/Engineering", | ||
] | ||
license = {text = "MIT"} | ||
requires-python = ">=3.7" | ||
dependencies = [ | ||
"numpy>=1.17.0", | ||
"pyvisa>=1.11.0, <1.12.0", | ||
"h5py>=3.0.0", | ||
"websockets>=7.0", | ||
"jsonschema>=3.0.0", | ||
"ruamel.yaml>=0.16.0,!=0.16.6", | ||
"wrapt>=1.10.4", | ||
"pandas>=1.0.0", | ||
"xarray>=0.18.0", | ||
"tabulate>=0.8.0", | ||
"tqdm>=4.32.2", | ||
"opencensus>=0.7.10", | ||
"opencensus-ext-azure>=1.0.4, <2.0.0", | ||
"matplotlib>=3.3.0", | ||
"importlib-metadata>=3.6.0,<5.0.0; python_version < '3.10'", | ||
"importlib-resources>=2.0.0; python_version < '3.9'", | ||
"typing_extensions>=3.10.0", | ||
"packaging>=20.0", | ||
"ipywidgets>=7.5.0,<8.0.0", | ||
"broadbean>=0.9.1", | ||
"uncertainties>=3.1.4", | ||
"h5netcdf>=0.10.0,!=0.14.0", | ||
# see https://github.com/h5netcdf/h5netcdf/issues/154 | ||
"versioningit>=1.1.0", | ||
# transitive dependencies. We list these explicitly to", | ||
# ensure that we always use versions that do not have", | ||
# known security vulnerabilities", | ||
"ipython>=7.31.1,!=8.0.0", | ||
"pillow>=9.0.0", | ||
"rsa>=4.7", | ||
] | ||
|
||
dynamic = ["version"] | ||
|
||
[project.readme] | ||
file = "README.rst" | ||
content-type = "text/x-rst" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/QCoDeS/Qcodes" | ||
Documentation = "https://qcodes.github.io/Qcodes/" | ||
Source = "https://github.com/qcodes/qcodes" | ||
Tracker = "https://github.com/QCoDeS/Qcodes/issues" | ||
Changelog = "https://qcodes.github.io/Qcodes/changes/index.html" | ||
|
||
[project.optional-dependencies] | ||
qtplot = ["pyqtgraph>=0.11.0"] | ||
slack = ["slack-sdk>=3.4.2"] | ||
zurichinstruments = ["zhinst-qcodes>=0.3"] | ||
test = [ | ||
"pytest>=6.0.0", | ||
"PyVisa-sim>=0.4.0", | ||
"hypothesis>=5.49.0", | ||
"pytest-xdist>=2.0.0", | ||
"deepdiff>=5.0.2", | ||
"pytest-mock>=3.0.0", | ||
"pytest-rerunfailures>=5.0.0", | ||
"lxml>=4.3.0", | ||
"types_requests>=0.1.8", | ||
"types-setuptools>=57.0.0", | ||
"types-tabulate>=0.1.0", | ||
"Sphinx>=4.1.2", | ||
] | ||
|
||
[project.scripts] | ||
qcodes-monitor = "qcodes.monitor.monitor:main" | ||
|
||
[tool.coverage.run] | ||
omit = [ | ||
"qcodes/__init__.py", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,10 @@ | ||
[metadata] | ||
name = qcodes | ||
maintainer = QCoDeS Core Developers | ||
maintainer_email = [email protected] | ||
description = Python-based data acquisition framework developed by the Copenhagen / Delft / Sydney / Microsoft quantum computing consortium | ||
long_description = file: README.rst | ||
long_description_content_type = text/x-rst | ||
url = https://github.com/QCoDeS/Qcodes | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Intended Audience :: Science/Research | ||
License :: OSI Approved :: MIT License | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Topic :: Scientific/Engineering | ||
license = MIT | ||
project_urls = | ||
Documentation = https://qcodes.github.io/Qcodes/ | ||
Source = https://github.com/qcodes/qcodes | ||
Tracker = https://github.com/QCoDeS/Qcodes/issues | ||
Changelog = https://qcodes.github.io/Qcodes/changes/index.html | ||
# note that only setuptools specific configuration is | ||
# in this file. Std configuration as defined by pep621 | ||
# and configuration for other tools goes into pyproject.toml | ||
|
||
[options] | ||
zip_safe = False | ||
packages = find: | ||
python_requires = >=3.7 | ||
install_requires = | ||
numpy>=1.17.0 | ||
pyvisa>=1.11.0, <1.12.0 | ||
h5py>=3.0.0 | ||
websockets>=7.0 | ||
jsonschema>=3.0.0 | ||
ruamel.yaml>=0.16.0,!=0.16.6 | ||
wrapt>=1.10.4 | ||
pandas>=1.0.0 | ||
xarray>=0.18.0 | ||
tabulate>=0.8.0 | ||
tqdm>=4.32.2 | ||
opencensus>=0.7.10 | ||
opencensus-ext-azure>=1.0.4, <2.0.0 | ||
matplotlib>=3.3.0 | ||
importlib-metadata>=3.6.0,<5.0.0; python_version < '3.10' | ||
importlib-resources>=2.0.0; python_version < '3.9' | ||
typing_extensions>=3.10.0 | ||
packaging>=20.0 | ||
ipywidgets>=7.5.0,<8.0.0 | ||
broadbean>=0.9.1 | ||
uncertainties>=3.1.4 | ||
h5netcdf>=0.10.0,!=0.14.0 | ||
; see https://github.com/h5netcdf/h5netcdf/issues/154 | ||
versioningit>=1.1.1 | ||
; transitive dependencies. We list these explicitly to | ||
; ensure that we always use versions that do not have | ||
; known security vulnerabilities | ||
ipython>=7.31.1,!=8.0.0 | ||
pillow>=9.0.0 | ||
rsa>=4.7 | ||
|
||
[options.package_data] | ||
qcodes = | ||
|
@@ -72,24 +19,3 @@ qcodes = | |
py.typed | ||
dist/schemas/* | ||
dist/tests/station/* | ||
|
||
[options.extras_require] | ||
QtPlot = pyqtgraph>=0.11.0 | ||
Slack = slack-sdk>=3.4.2 | ||
ZurichInstruments = zhinst-qcodes>=0.3 | ||
test = | ||
pytest>=6.0.0 | ||
PyVisa-sim>=0.4.0 | ||
hypothesis>=5.49.0 | ||
pytest-xdist>=2.0.0 | ||
deepdiff>=5.0.2 | ||
pytest-mock>=3.0.0 | ||
pytest-rerunfailures>=5.0.0 | ||
lxml>=4.3.0 | ||
types_requests>=0.1.8 | ||
types-tabulate>=0.1.0 | ||
Sphinx>=4.1.2 | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
qcodes-monitor = qcodes.monitor.monitor:main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters