Skip to content

Commit 47ff705

Browse files
cfarrendqctrlrobot
andauthored
Apply pyproject.toml standard (#167)
* Apply pyproject.toml standard * Update setup.py/README.rst to match pyproject.toml/README.md * Open controls documentation link * Update setup.py/README.rst to match pyproject.toml/README.md * Add repository * Update setup.py/README.rst to match pyproject.toml/README.md Co-authored-by: Q-CTRL DevOps <[email protected]>
1 parent c20251e commit 47ff705

File tree

5 files changed

+46
-193
lines changed

5 files changed

+46
-193
lines changed

DESCRIPTION.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Q-CTRL Open Controls
2+
3+
Q-CTRL Open Controls is an open-source Python package that makes it easy to
4+
create and deploy established error-robust quantum control protocols from the
5+
open literature. The aim of the package is to be the most comprehensive library
6+
of published and tested quantum control techniques developed by the community,
7+
with easy to use export functions allowing users to deploy these controls on:
8+
9+
- Custom quantum hardware
10+
- Publicly available cloud quantum computers
11+
- The [Q-CTRL product suite](https://q-ctrl.com/products/)
12+
13+
Anyone interested in quantum control is welcome to contribute to this project.

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# Q-CTRL Open Controls Python package
2-
3-
[![Actions Status](https://github.com/qctrl/python-open-controls/workflows/Push%20workflow/badge.svg)](https://github.com/qctrl/python-open-controls/actions?query=workflow%3A"Push+workflow")
4-
[![Actions Status](https://github.com/qctrl/python-open-controls/workflows/Release%20workflow/badge.svg)](https://github.com/qctrl/python-open-controls/actions?query=workflow%3A"Release+workflow")
1+
# Q-CTRL Open Controls
52

63
Q-CTRL Open Controls is an open-source Python package that makes it easy to
74
create and deploy established error-robust quantum control protocols from the

README.rst

Lines changed: 0 additions & 165 deletions
This file was deleted.

pyproject.toml

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,33 @@ version = "7.0.0"
44
description = "Q-CTRL Open Controls"
55
license = "Apache-2.0"
66
authors = ["Q-CTRL <[email protected]>"]
7-
readme = "README.md"
7+
maintainers = ["Q-CTRL <[email protected]>"]
8+
readme = "DESCRIPTION.md"
9+
homepage = "https://q-ctrl.com"
10+
repository = "https://github.com/qctrl/python-open-controls"
11+
documentation = "https://docs.q-ctrl.com/references/python/qctrl-open-controls/"
812
keywords = [
9-
"quantum",
10-
"computing",
11-
"open source",
12-
"engineering"
13+
"q-ctrl",
14+
"qctrl",
15+
"quantum control"
1316
]
1417
classifiers = [
15-
"Development Status :: 5 - Production/Stable",
16-
"Environment :: Console",
17-
"Intended Audience :: Developers",
18-
"Intended Audience :: Education",
19-
"Intended Audience :: Science/Research",
20-
"License :: OSI Approved :: Apache Software License",
21-
"Natural Language :: English",
22-
"Operating System :: OS Independent",
23-
"Programming Language :: Python :: 3.6",
24-
"Topic :: Scientific/Engineering :: Physics",
25-
"Topic :: Scientific/Engineering :: Visualization",
26-
"Topic :: Software Development :: Embedded Systems",
27-
"Topic :: System :: Distributed Computing"
28-
]
29-
repository = "https://github.com/qctrl/python-open-controls"
18+
"Development Status :: 5 - Production/Stable",
19+
"Environment :: Console",
20+
"Intended Audience :: Developers",
21+
"Intended Audience :: Education",
22+
"Intended Audience :: Science/Research",
23+
"Natural Language :: English",
24+
"Operating System :: OS Independent",
25+
"Programming Language :: Python :: 3.6",
26+
"Programming Language :: Python :: 3.7",
27+
"Programming Language :: Python :: 3.8",
28+
"Topic :: Internet :: WWW/HTTP",
29+
"Topic :: Scientific/Engineering :: Physics",
30+
"Topic :: Scientific/Engineering :: Visualization",
31+
"Topic :: Software Development :: Embedded Systems",
32+
"Topic :: System :: Distributed Computing"
33+
]
3034
packages = [
3135
{ include = "qctrlopencontrols" },
3236
]
@@ -50,6 +54,10 @@ nbval = "^0.9.5"
5054
qctrl-visualizer = "^2.3.0"
5155
isort = "^5.4.2"
5256

57+
[tool.poetry.urls]
58+
GitHub = "https://github.com/qctrl"
59+
Twitter = "https://twitter.com/qctrlHQ"
60+
5361
[tool.black]
5462
exclude = '''
5563
(

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
readme = ''
1717
here = os.path.abspath(os.path.dirname(__file__))
18-
readme_path = os.path.join(here, 'README.rst')
18+
readme_path = os.path.join(here, 'DESCRIPTION.rst')
1919
if os.path.exists(readme_path):
2020
with open(readme_path, 'rb') as stream:
2121
readme = stream.read().decode('utf8')
@@ -27,12 +27,12 @@
2727
version='7.0.0',
2828
description='Q-CTRL Open Controls',
2929
python_requires='<3.9,>=3.6.4',
30-
project_urls={"repository": "https://github.com/qctrl/python-open-controls"},
30+
project_urls={"documentation": "https://docs.q-ctrl.com/references/python/qctrl-open-controls/", "homepage": "https://q-ctrl.com", "repository": "https://github.com/qctrl/python-open-controls"},
3131
author='Q-CTRL',
3232
author_email='[email protected]',
3333
license='Apache-2.0',
34-
keywords='quantum computing open source engineering',
35-
classifiers=['Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: Education', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: Physics', 'Topic :: Scientific/Engineering :: Visualization', 'Topic :: Software Development :: Embedded Systems', 'Topic :: System :: Distributed Computing'],
34+
keywords='q-ctrl qctrl quantum control',
35+
classifiers=['Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: Education', 'Intended Audience :: Science/Research', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Scientific/Engineering :: Physics', 'Topic :: Scientific/Engineering :: Visualization', 'Topic :: Software Development :: Embedded Systems', 'Topic :: System :: Distributed Computing'],
3636
packages=['qctrlopencontrols', 'qctrlopencontrols.driven_controls', 'qctrlopencontrols.dynamic_decoupling_sequences'],
3737
package_dir={"": "."},
3838
package_data={},

0 commit comments

Comments
 (0)