Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 MAINTAIN: Move to flit for PEP 621 package builds (#608)
* MAINT: Move to using flit for build system * migrate from python setup.py to pip install * TST: Update conda workflows for testing * python=3.9,osx seems to need chardet installed * add ignore on util tests * fix README conflict * move publish to conda_ci as future * update developer install to flit * remove setup.py * remove editable mode for pip install with pyproject.toml, migrate numba fix * remove unecessary dependencies
- Loading branch information
Showing
8 changed files
with
104 additions
and
102 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
File renamed without changes.
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 |
---|---|---|
|
@@ -12,4 +12,6 @@ dependencies: | |
- ipython | ||
- flake8 | ||
- requests | ||
- flit | ||
- chardet # python>3.9,osx | ||
- pytest |
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,70 @@ | ||
[build-system] | ||
requires = ["flit_core >=3.5,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[project] | ||
name = "quantecon" | ||
authors = [{name = "QuantEcon Project", email = "admin@quantecon.org"}] | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'Operating System :: OS Independent', | ||
'Intended Audience :: Science/Research', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Topic :: Scientific/Engineering', | ||
] | ||
keywords = [ | ||
'quantitative', | ||
'economics' | ||
] | ||
dynamic = ["description", "version"] | ||
requires-python = ">=3.7" | ||
dependencies = [ | ||
'numba', | ||
'numpy', | ||
'requests', | ||
'scipy>=1.0.0', | ||
'sympy', | ||
] | ||
|
||
[project.optional-dependencies] | ||
testing = [ | ||
"pytest", | ||
"coverage", | ||
"flake8", | ||
"numpy", | ||
"scipy", | ||
"pandas", | ||
"numba", | ||
"sympy", | ||
] | ||
|
||
|
||
[project.license] | ||
file = "LICENSE" | ||
|
||
[project.readme] | ||
file = "README.md" | ||
content-type = "text/markdown" | ||
|
||
[project.urls] | ||
Homepage = "https://quantecon.org/quantecon-py/" | ||
Documentation = "http://quanteconpy.readthedocs.org/en/latest/" | ||
Funding = "https://quantecon.org" | ||
Source = "https://github.com/quantecon/QuantEcon.py" | ||
Tracker = "https://github.com/quantecon/QuantEcon.py/issues" | ||
|
||
[tool.flit.module] | ||
name = "quantecon" | ||
|
||
[tool.flit.sdist] | ||
exclude = [ | ||
".*", # Any hidden folders or files | ||
"docs/", | ||
"quantecon/tests/", | ||
"quantecon/util/tests", | ||
"Makefile", | ||
"environment.yml", | ||
"readthedocs.yml", | ||
] |
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