Files
fm-orchestrator/setup.py
Ralph Bean d13c7991ed Cleanup in preparation for package review.
I'm taking on #235.  This is all stuff that came up while doing a
cursory package review myself.

- The source files all state that they are MIT, but the specfile and
  repo claimed to be GPL.  I switched everything to MIT (even though I
  favor GPL.. the source was MIT first before it was incorrectly
  labelled GPL).
- There are various bugs and lint issues in the specfile fixed here.
- Notably, the systemd service file is missing from the 1.0.0 tarball on
  PyPI, so I'll need to do a new release after this.
2016-12-12 15:09:58 -05:00

41 lines
1.7 KiB
Python

from setuptools import setup, find_packages
with open('requirements.txt') as f:
requirements = f.readlines()
with open('test-requirements.txt') as f:
test_requirements = f.readlines()
setup(name='module-build-service',
description='The Module Build Service for Modularity',
version='1.0.0',
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Build Tools"
],
keywords='module build service fedora modularity koji mock rpm',
author='The Factory 2.0 Team',
author_email='module-build-service-owner@fedoraproject.org',
url='https://pagure.io/fm-orchestrator/',
license='GPLv2+',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requirements,
tests_require=test_requirements,
entry_points={
'console_scripts': ['mbs-daemon = module_build_service.scheduler.main:main',
'mbs-upgradedb = module_build_service.manage:upgradedb',
'mbs-gencert = module_build_service.manage:generatelocalhostcert',
'mbs-frontend = module_build_service.manage:runssl',
'mbs-manager = module_build_service.manage:manager_wrapper']
},
data_files=[('/etc/module-build-service/', ['conf/cacert.pem',
'conf/config.py',
'conf/copr.conf',
'conf/koji.conf']),
('/etc/fedmsg.d/', ['fedmsg.d/mbs-logging.py',
'fedmsg.d/module_build_service.py']),
],
)