-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move static setup config to setup.cfg
- Loading branch information
Showing
3 changed files
with
68 additions
and
58 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,10 +1,71 @@ | ||
[metadata] | ||
name = scramble_history | ||
version = 0.1.15 | ||
description = parses scramble history from cstimer.net and other sources | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = "https://github.com/seanbreckenridge/scramble_history" | ||
author = Sean Breckenridge | ||
author_email = "[email protected]" | ||
license = MIT | ||
license_files = LICENSE | ||
classifiers = | ||
License :: OSI Approved :: MIT License | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: 3.11 | ||
keywords = cubing data | ||
|
||
[options] | ||
packages = find: | ||
install_requires = | ||
IPython | ||
autotui>=0.4.3 | ||
click>=8.0 | ||
logzero | ||
more-itertools | ||
platformdirs | ||
pytimeparse | ||
pyyaml | ||
requests | ||
simplejson | ||
tabulate | ||
python_requires = >=3.8 | ||
include_package_data = True | ||
|
||
[options.packages.find] | ||
exclude = | ||
tests* | ||
include = | ||
scramble_history | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
scramble_history = scramble_history.__main__:main | ||
|
||
[options.extras_require] | ||
optional = | ||
orjson | ||
seaborn | ||
testing = | ||
flake8 | ||
mypy | ||
pytest | ||
|
||
[options.package_data] | ||
scramble_history = py.typed | ||
|
||
[flake8] | ||
ignore=E501,E402,W503,E266,E203 | ||
ignore = E501,E402,W503,E266,E203 | ||
|
||
[mypy] | ||
pretty = True | ||
show_error_context = True | ||
show_error_codes = True | ||
show_error_codes = True | ||
check_untyped_defs = True | ||
namespace_packages = True | ||
disallow_any_generics = True | ||
|
@@ -19,6 +80,6 @@ warn_unreachable = True | |
|
||
[tool:pytest] | ||
addopts = | ||
--doctest-modules scramble_history | ||
--verbose | ||
tests | ||
--doctest-modules scramble_history | ||
--verbose | ||
tests |
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,43 +1,3 @@ | ||
from pathlib import Path | ||
from setuptools import setup, find_packages | ||
from setuptools import setup | ||
|
||
long_description = Path("README.md").read_text() | ||
reqs = Path("requirements.txt").read_text().strip().splitlines() | ||
|
||
pkg = "scramble_history" | ||
setup( | ||
name=pkg, | ||
version="0.1.15", | ||
url="https://github.com/seanbreckenridge/scramble-history", | ||
author="Sean Breckenridge", | ||
author_email="[email protected]", | ||
description=("""parses scramble history from cstimer.net and other sources"""), | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
license="MIT", | ||
packages=find_packages(include=[pkg]), | ||
install_requires=reqs, | ||
package_data={pkg: ["py.typed"]}, | ||
zip_safe=False, | ||
keywords="cubing data", | ||
python_requires=">=3.8", | ||
entry_points={ | ||
"console_scripts": ["scramble_history = scramble_history.__main__:main"] | ||
}, | ||
extras_require={ | ||
"optional": ["orjson", "seaborn"], | ||
"testing": [ | ||
"pytest", | ||
"mypy", | ||
"flake8", | ||
], | ||
}, | ||
classifiers=[ | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
], | ||
) | ||
setup() |