Skip to content

Commit 40df1d0

Browse files
committed
clean up setup
Since qutip_qip requries no run-time compilation, configuration in setup.cfg is sufficient for the build. src is removed from MANIFEST because setuptools can automatically handle the including of source files and removing pycache
1 parent 546f27f commit 40df1d0

File tree

4 files changed

+54
-188
lines changed

4 files changed

+54
-188
lines changed

MANIFEST.in

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
graft src
21
include README.md
3-
include LICENSE.txt
2+
include LICENSE
43
include requirements.txt
4+
include pyproject.toml
55

6-
recursive-include tests *
7-
recursive-exclude * __pycache__
6+
recursive-include tests *.py *.qasm pytest.ini

pyproject.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=42",
4+
"wheel",
5+
]
6+
build-backend = "setuptools.build_meta"

setup.cfg

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[metadata]
2+
name = qutip-qip
3+
url = https://github.com/qutip/qutip-qip
4+
description = The QuTiP quantum information processing package
5+
long_description = file: README.md
6+
long_description_content_type = text/markdown; variant=GFM
7+
keywords = quantum, physics, dynamics
8+
license = BSD 3-Clause License
9+
license_files = LICENSE
10+
classifiers =
11+
Development Status :: 2 - Pre-Alpha
12+
Intended Audience :: Science/Research
13+
License :: OSI Approved :: BSD License
14+
Programming Language :: Python
15+
Programming Language :: Python :: 3
16+
Topic :: Scientific/Engineering
17+
Operating System :: MacOS
18+
Operating System :: POSIX
19+
Operating System :: Unix
20+
Operating System :: Microsoft :: Windows
21+
author = Alexander Pitchford, Paul D. Nation, Robert J. Johansson, Chris Granade, Arne Grimsmo, Nathan Shammah, Shahnawaz Ahmed, Neill Lambert, Eric Giguere, Boxi Li, Jake Lishman
22+
author_email = [email protected]
23+
platforms = Linux, Mac OSX, Unix, Windows
24+
version = 0.1.0
25+
26+
[options]
27+
package_dir=
28+
=src
29+
packages = find:
30+
include_package_data = True
31+
install_requires =
32+
numpy>=1.16.6
33+
scipy>=1.0
34+
qutip>=4.6,<5
35+
36+
[options.packages.find]
37+
where = src
38+
39+
[options.extras_require]
40+
graphics = matplotlib>=1.3.0
41+
tests =
42+
pytest>=5.2
43+
full =
44+
%(graphics)s
45+
%(tests)s

setup.py

-184
This file was deleted.

0 commit comments

Comments
 (0)