Skip to content

Commit 8f7311b

Browse files
authored
Merge pull request #3 from DisasterAWARE/setup.cfg
Move metadata to setup.cfg
2 parents 5b9ce6d + 29577f3 commit 8f7311b

File tree

2 files changed

+44
-29
lines changed

2 files changed

+44
-29
lines changed

setup.cfg

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
[metadata]
2+
name = aws-glue-schema-registry
3+
version = 0.0.1
4+
description = Use the AWS Glue Schema Registry.
5+
long_description = file: README.md
6+
long_description_content_type = text/markdown
7+
author = Corentin Debost
8+
author_email = [email protected]
9+
license = Apache Software License
10+
license_file = LICENSE
11+
classifiers =
12+
Development Status :: 4 - Beta
13+
Intended Audience :: Developers
14+
License :: OSI Approved :: Apache Software License
15+
Programming Language :: Python :: 3
16+
Programming Language :: Python :: 3 :: Only
17+
Programming Language :: Python :: 3.7
18+
Programming Language :: Python :: 3.8
19+
Programming Language :: Python :: 3.9
20+
Topic :: Software Development :: Libraries
21+
Typing :: Typed
22+
23+
[options]
24+
packages =
25+
aws_schema_registry
26+
package_dir =
27+
=src
28+
python_requires = >=3.7
29+
install_requires =
30+
boto3>=1.18.48
31+
fastavro>=1.4.5
32+
typing-extensions>=3.10.0.2;python_version<"3.8"
33+
setup_requires =
34+
setuptools
35+
36+
[options.extras_require]
37+
dev =
38+
pytest>=6
39+
flake8>=3
40+
kafka-python =
41+
kafka-python>=2
42+
143
[mypy]
244
files = src,tests
345

setup.py

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,4 @@
11
import setuptools
22

3-
with open('README.md', 'r', encoding='utf-8') as f:
4-
long_description = f.read()
5-
6-
setuptools.setup(
7-
name='aws-glue-schema-registry',
8-
version='0.0.1',
9-
author='Corentin Debost',
10-
author_email='[email protected]',
11-
description='Use the AWS Glue Schema Registry.',
12-
long_description=long_description,
13-
long_description_content_type='text/markdown',
14-
package_dir={'': 'src'},
15-
packages=setuptools.find_packages(where='src'),
16-
python_requires='>=3.7',
17-
install_requires=[
18-
'boto3>=1.18.48',
19-
'fastavro>=1.4.5',
20-
'typing-extensions>=3.10.0.2;python_version<"3.8"'
21-
],
22-
extras_require={
23-
'dev': [
24-
'pytest>=6',
25-
'flake8>=3'
26-
],
27-
'kafka-python': [
28-
'kafka-python>=2'
29-
]
30-
}
31-
)
3+
if __name__ == '__main__':
4+
setuptools.setup()

0 commit comments

Comments
 (0)