mirror of
https://github.com/clearlinux/autospec.git
synced 2026-08-28 13:25:56 +00:00
eb1b2f61cc
Added a setup.py for packaging. This will install the .py files as autospec library in dist-packages. Because of the way the imports are currently done, autospec.py is installed in dist-packages dir. The rpm packaging should create a symlink to this file at /usr/bin/autospec.py
31 lines
919 B
Python
31 lines
919 B
Python
from setuptools import setup, find_packages
|
|
|
|
import sys, os
|
|
version = "1.0.0"
|
|
|
|
def readme():
|
|
with open("README.rst") as f:
|
|
return f.read()
|
|
|
|
setup(name="autospec",
|
|
description="Automated creation of RPM packaging",
|
|
long_description=readme(),
|
|
version = version,
|
|
license = "GPLv3",
|
|
packages = ["autospec"],
|
|
package_data = {
|
|
'': ['*.pl', '*.dic'],
|
|
},
|
|
classifiers=[
|
|
'Intended Audience :: Developers',
|
|
'Topic :: Software Development :: Build Tools',
|
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
|
# Python versions supported.
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.2',
|
|
'Programming Language :: Python :: 3.3',
|
|
'Programming Language :: Python :: 3.4',
|
|
],
|
|
include_package_data = True,
|
|
)
|