-
Notifications
You must be signed in to change notification settings - Fork 6
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
2 changed files
with
29 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,35 @@ | ||
[metadata] | ||
name = HPI_seanbreckenridge | ||
version = 0.0.1 | ||
description = "A Python interface to my life" | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = "https://github.com/seanbreckenridge/HPI" | ||
author = "Sean Breckenridge" | ||
author_email = "[email protected]" | ||
license = MIT | ||
license_files = LICENSE | ||
classifiers = | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
|
||
[options] | ||
python_requires = >=3.8 | ||
zip_safe = False | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
backup_to = my.utils.backup_to.__main__:main | ||
|
||
[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_incomplete_defs = True | ||
|
@@ -17,5 +42,5 @@ warn_unreachable = True | |
|
||
[tool:pytest] | ||
addopts = | ||
--verbose | ||
tests | ||
--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 |
---|---|---|
|
@@ -12,15 +12,8 @@ def subpackages() -> Iterator[str]: | |
username = "seanbreckenridge" | ||
if __name__ == "__main__": | ||
setup( | ||
name=f"HPI-{username}", # use a different name from karlicoss/HPI, for confusion regarding egg-link reasons | ||
zip_safe=False, | ||
packages=list(subpackages()), | ||
package_data={"my": ["py.typed"]}, | ||
url=f"https://github.com/{username}/HPI", | ||
author="Sean Breckenridge", | ||
author_email="[email protected]", | ||
description="A Python interface to my life", | ||
python_requires=">=3.8", | ||
entry_points={ | ||
"console_scripts": ["backup_to = my.utils.backup_to.__main__:main"] | ||
}, | ||
|