1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
#!/usr/bin/env python
# $Id: setup.py 671 2004-08-22 21:02:29Z md $
import sys
if "--setuptools" in sys.argv:
sys.argv.remove("--setuptools")
from setuptools import setup
else:
from distutils.core import setup
# Open IPy.py to read version
from imp import load_source
from os.path import join as path_join, dirname
filename = path_join(dirname(__file__), "nuauth_command", "version.py")
command = load_source("", filename)
LONG_DESCRIPTION = "Command line program to control nuauth daemon throw UNIX socket"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: System Administrators',
'Environment :: Console',
'Topic :: System :: Networking',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Natural Language :: English',
'Programming Language :: Python']
setup(name="nuauth_command",
version=command.VERSION,
description="Command line program to control NuFW firewall (nuauth)",
long_description=LONG_DESCRIPTION,
author="Victor Stinner",
maintainer="Victor Stinner",
maintainer_email="victor.stinner AT inl.fr",
license=command.LICENSE,
url=command.WEBSITE,
download_url=command.WEBSITE,
classifiers= CLASSIFIERS,
scripts=["scripts/nuauth_command"],
packages=["nuauth_command"],
package_dir={"nuauth_command": "nuauth_command"})
|