Skip to content

Commit

Permalink
clean up setup
Browse files Browse the repository at this point in the history
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
  • Loading branch information
BoxiLi committed May 7, 2021
1 parent 546f27f commit 40df1d0
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 188 deletions.
7 changes: 3 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
graft src
include README.md
include LICENSE.txt
include LICENSE
include requirements.txt
include pyproject.toml

recursive-include tests *
recursive-exclude * __pycache__
recursive-include tests *.py *.qasm pytest.ini
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel",
]
build-backend = "setuptools.build_meta"
45 changes: 45 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[metadata]
name = qutip-qip
url = https://github.com/qutip/qutip-qip
description = The QuTiP quantum information processing package
long_description = file: README.md
long_description_content_type = text/markdown; variant=GFM
keywords = quantum, physics, dynamics
license = BSD 3-Clause License
license_files = LICENSE
classifiers =
Development Status :: 2 - Pre-Alpha
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Scientific/Engineering
Operating System :: MacOS
Operating System :: POSIX
Operating System :: Unix
Operating System :: Microsoft :: Windows
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
author_email = qutip-admin@googlegroups.com
platforms = Linux, Mac OSX, Unix, Windows
version = 0.1.0

[options]
package_dir=
=src
packages = find:
include_package_data = True
install_requires =
numpy>=1.16.6
scipy>=1.0
qutip>=4.6,<5

[options.packages.find]
where = src

[options.extras_require]
graphics = matplotlib>=1.3.0
tests =
pytest>=5.2
full =
%(graphics)s
%(tests)s
184 changes: 0 additions & 184 deletions setup.py

This file was deleted.

0 comments on commit 40df1d0

Please sign in to comment.