52 lines
1.8 KiB
Python
52 lines
1.8 KiB
Python
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=["distgit_bugzilla_sync"],
|
|
include_package_data=False,
|
|
package_data={
|
|
"distgit_bugzilla_sync": [
|
|
"default-config-files/configuration.toml",
|
|
"default-config-files/email_overrides.toml",
|
|
],
|
|
},
|
|
zip_safe=False,
|
|
install_requires=INSTALL_REQUIRES,
|
|
tests_require=TESTS_REQUIRE,
|
|
entry_points={
|
|
"console_scripts": [
|
|
"distgit-bugzilla-sync = distgit_bugzilla_sync.script:DistgitBugzillaSync.main",
|
|
],
|
|
},
|
|
)
|