|
|
import os
|
|
|
from setuptools import setup
|
|
|
from setuptools import setup, find_packages
|
|
|
from pip.req import parse_requirements
|
|
|
|
|
|
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
|
|
|
INSTALL_REQUIREMENTS = [str(r.req) for r in parse_requirements("requirements/production.txt")]
|
|
|
TEST_REQUIREMENTS = [str(r.req) for r in parse_requirements("requirements/test.txt")]
|
|
|
|
|
|
# allow setup.py to be run from any path
|
|
|
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
|
|
|
|
|
|
setup(
|
|
|
name='django-conntrackt',
|
|
|
version='0.1',
|
|
|
packages=['conntrackt'],
|
|
|
packages=find_packages(exclude=["projtest", "projtest.*"]),
|
|
|
include_package_data=True,
|
|
|
license='GPLv3', # example license
|
|
|
license='GPLv3+',
|
|
|
description='A simple application for tracking connection requirements between different entities in a network.',
|
|
|
long_description=README,
|
|
|
url='http://projects.majic.rs/conntrackt',
|
|
|
author='Branko Majic',
|
|
|
author_email='branko@majic.rs',
|
|
|
install_requires=INSTALL_REQUIREMENTS,
|
|
|
tests_require=TEST_REQUIREMENTS,
|
|
|
classifiers=[
|
|
|
'Development Status :: 4 - Beta',
|
|
|
'Environment :: Web Environment',
|
|
|
'Framework :: Django',
|
|
|
'Intended Audience :: Developers',
|
|
|
'License :: OSI Approved :: GPLv3',
|
|
|
'Intended Audience :: System Administrators',
|
|
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)'
|
|
|
'Operating System :: OS Independent',
|
|
|
'Programming Language :: Python',
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
|
|
'Topic :: System :: Networking :: Firewalls',
|
|
|
],
|
|
|
)
|