diff --git a/setup.cfg b/setup.cfg index e62cde7..cf9d5ca 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 = ikonstantinov@lyft.com +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 @@ -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 diff --git a/setup.py b/setup.py index 6b815be..6068493 100644 --- a/setup.py +++ b/setup.py @@ -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="ikonstantinov@lyft.com", - packages=find_packages(exclude=["tests*"]), - dependency_links=[], - install_requires=[ - "pynamodb>=5.0.0", - ], - python_requires=">=3", - package_data={"pynamodb_attributes": ["py.typed"]}, -) +setup()