add setup.py and related files
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
79e44b2953
commit
b8e37f62fc
4 changed files with 54 additions and 0 deletions
6
requirements.txt
Normal file
6
requirements.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
bugzilla
|
||||
dogpile.cache
|
||||
python-fedora
|
||||
PyYAML
|
||||
requests
|
||||
urllib3
|
46
setup.py
Normal file
46
setup.py
Normal file
|
@ -0,0 +1,46 @@
|
|||
import os.path
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
HERE = os.path.dirname(__file__)
|
||||
with open(os.path.join(HERE, 'requirements.txt'), 'r') as f:
|
||||
INSTALL_REQUIRES = [x.strip() for x in f.readlines()]
|
||||
with open(os.path.join(HERE, 'test_requirements.txt'), 'r') as f:
|
||||
TESTS_REQUIRE = [x.strip() for x in f.readlines()]
|
||||
|
||||
|
||||
setup(
|
||||
name='distgit-bugzilla-sync',
|
||||
version='0.1',
|
||||
description='script to set default assignee, CC list from component owners',
|
||||
# Possible options are at https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: System Administrators',
|
||||
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
|
||||
'Operating System :: POSIX :: Linux',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Topic :: Software Development :: Bug Tracking',
|
||||
],
|
||||
license='GPLv2+',
|
||||
maintainer='Fedora Infrastructure Team',
|
||||
maintainer_email='infrastructure@lists.fedoraproject.org',
|
||||
platforms=['Fedora', 'GNU/Linux'],
|
||||
url='https://pagure.io/Fedora-Infra/distgit-bugzilla-sync',
|
||||
keywords='fedora',
|
||||
packages=[],
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
install_requires=INSTALL_REQUIRES,
|
||||
tests_require=TESTS_REQUIRE,
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'distgit-bugzilla-sync = pagure_sync_bugzilla:main',
|
||||
],
|
||||
},
|
||||
)
|
2
test_requirements.txt
Normal file
2
test_requirements.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
flake8
|
||||
pytest
|
Loading…
Add table
Add a link
Reference in a new issue