Skip to content

Commit

Permalink
move static setup config to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
purarue committed Sep 25, 2023
1 parent f696b9b commit 94b9cca
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 11 deletions.
33 changes: 29 additions & 4 deletions setup.cfg
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
Expand All @@ -17,5 +42,5 @@ warn_unreachable = True

[tool:pytest]
addopts =
--verbose
tests
--verbose
tests
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
Expand Down

0 comments on commit 94b9cca

Please sign in to comment.