Skip to content

Commit

Permalink
Move metadata from setup.py setup.cfg (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikonst authored Aug 26, 2022
1 parent 73a01aa commit 80cdcaa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
20 changes: 19 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@ universal = 1

[metadata]
license_file = LICENSE
name = pynamodb-attributes
version = 0.4.0
description = Common attributes for PynamoDB
url = https://www.github.com/lyft/pynamodb-attributes
maintainer = Lyft
maintainer_email = [email protected]
classifiers =
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only

[options]
packages = find:
install_requires=
pynamodb>=5.0.0
python_requires = >=3

[options.package_data]
pynamodb_attributes =
py.typed

[flake8]
format = pylint
Expand All @@ -17,7 +36,6 @@ env =
D:AWS_ACCESS_KEY_ID=mock_aws_access_key_id
D:AWS_SECRET_ACCESS_KEY=mock_aws_secret_access_key


[coverage:run]
branch = True

Expand Down
17 changes: 1 addition & 16 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
from setuptools import find_packages
from setuptools import setup

setup(
name="pynamodb-attributes",
version="0.4.0",
description="Common attributes for PynamoDB",
url="https://www.github.com/lyft/pynamodb-attributes",
maintainer="Lyft",
maintainer_email="[email protected]",
packages=find_packages(exclude=["tests*"]),
dependency_links=[],
install_requires=[
"pynamodb>=5.0.0",
],
python_requires=">=3",
package_data={"pynamodb_attributes": ["py.typed"]},
)
setup()

0 comments on commit 80cdcaa

Please sign in to comment.