| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
from __future__ import with_statement |
| 23 |
import sys |
| 24 |
from distutils.core import setup |
| 25 |
|
| 26 |
VERSION = '1.01' |
| 27 |
|
| 28 |
options = {} |
| 29 |
|
| 30 |
with open('README.rst') as fp: |
| 31 |
README = fp.read().strip() + "\n\n" |
| 32 |
|
| 33 |
ChangeLog = ( |
| 34 |
"What's new\n" |
| 35 |
"==========\n" |
| 36 |
"\n") |
| 37 |
with open('ChangeLog') as fp: |
| 38 |
ChangeLog += fp.read().strip() |
| 39 |
|
| 40 |
LONG_DESCRIPTION = README + ChangeLog |
| 41 |
CLASSIFIERS = [ |
| 42 |
'Development Status :: 5 - Production/Stable', |
| 43 |
'Intended Audience :: Developers', |
| 44 |
'Intended Audience :: System Administrators', |
| 45 |
'Environment :: Plugins', |
| 46 |
'Topic :: Software Development :: Libraries :: Python Modules', |
| 47 |
'Topic :: Communications', |
| 48 |
'Topic :: Internet', |
| 49 |
'Topic :: System :: Networking', |
| 50 |
'License :: OSI Approved :: BSD License', |
| 51 |
'Operating System :: OS Independent', |
| 52 |
'Natural Language :: English', |
| 53 |
'Programming Language :: Python', |
| 54 |
'Programming Language :: Python :: 3', |
| 55 |
] |
| 56 |
URL = "https://github.com/autocracy/python-ipy" |
| 57 |
|
| 58 |
setup( |
| 59 |
name="IPy", |
| 60 |
version=VERSION, |
| 61 |
description="Class and tools for handling of IPv4 and IPv6 addresses and networks", |
| 62 |
long_description=LONG_DESCRIPTION, |
| 63 |
author="Maximillian Dornseif", |
| 64 |
maintainer="Jeff Ferland", |
| 65 |
maintainer_email="jeff AT storyinmemo.com", |
| 66 |
license="BSD License", |
| 67 |
keywords="ipv4 ipv6 netmask", |
| 68 |
url=URL, |
| 69 |
download_url=URL, |
| 70 |
classifiers= CLASSIFIERS, |
| 71 |
py_modules=["IPy"], |
| 72 |
**options |
| 73 |
) |
| 74 |
|