Files
autospec/setup.py
T
Archana eb1b2f61cc Add support for python packaging.
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
2015-12-09 20:57:53 -08:00

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,
)