dpkt/setup.py

41 lines
1.1 KiB
Python
Raw Normal View History

2014-12-18 15:48:20 +00:00
import os
import sys
2012-06-06 18:42:25 +00:00
2014-12-18 15:48:20 +00:00
try:
from setuptools import setup, Command
except ImportError:
from distutils.core import setup, Command
2012-06-06 18:42:25 +00:00
2014-12-18 15:48:20 +00:00
package_name = 'dpkt'
2015-01-02 19:51:42 +00:00
description = 'fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols'
2014-12-18 15:48:20 +00:00
readme = open('README.rst').read()
2015-01-02 18:34:03 +00:00
requirements = [ ]
# PyPI Readme
long_description = open('README.rst').read()
2014-12-18 15:48:20 +00:00
# Pull in the package
package = __import__(package_name)
setup(name=package_name,
version=package.__version__,
author=package.__author__,
url=package.__url__,
description=description,
2015-01-02 18:34:03 +00:00
long_description=long_description,
2014-12-18 15:48:20 +00:00
packages=['dpkt'],
install_requires=requirements,
2015-01-02 19:58:26 +00:00
license='BSD',
2014-12-18 15:48:20 +00:00
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
2014-12-18 15:48:20 +00:00
]
)