-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
42 lines (37 loc) · 1012 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import pathlib
import setuptools
with pathlib.Path('README.md').open() as f:
long_description = f.read()
setuptools.setup(
name='repomd',
version='0.2.1',
author='Carl George',
author_email='[email protected]',
description='Library for reading dnf/yum repositories',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/carlwgeorge/repomd',
license='MIT',
package_dir={'': 'source'},
py_modules=['repomd'],
# f-strings
python_requires='>=3.6',
# markdown content type
setup_requires=['setuptools>=38.6.0'],
install_requires=[
'defusedxml',
'lxml',
],
extras_require={
'test': [
'pytest',
'pytest-cov',
'pytest-flake8',
],
},
classifiers=[
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
],
)