From d3c7cc2570177918b0cac378933b95829b4e1372 Mon Sep 17 00:00:00 2001 From: pi-rho Date: Sun, 3 Jun 2012 14:58:10 -0500 Subject: [PATCH] use setuptools to enable system-wide installation --- README.txt | 1 + __init__.py => netarch/__init__.py | 0 crypto.py => netarch/crypto.py | 0 gapstr.py => netarch/gapstr.py | 0 ip.py => netarch/ip.py | 0 py_pcap.py => netarch/py_pcap.py | 0 setup.py | 21 +++++++++++++++++++++ 7 files changed, 22 insertions(+) create mode 100644 README.txt rename __init__.py => netarch/__init__.py (100%) rename crypto.py => netarch/crypto.py (100%) rename gapstr.py => netarch/gapstr.py (100%) rename ip.py => netarch/ip.py (100%) rename py_pcap.py => netarch/py_pcap.py (100%) create mode 100644 setup.py diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..85631fc --- /dev/null +++ b/README.txt @@ -0,0 +1 @@ +Classes to aid in the dissection of network protocols and cryptanalysis diff --git a/__init__.py b/netarch/__init__.py similarity index 100% rename from __init__.py rename to netarch/__init__.py diff --git a/crypto.py b/netarch/crypto.py similarity index 100% rename from crypto.py rename to netarch/crypto.py diff --git a/gapstr.py b/netarch/gapstr.py similarity index 100% rename from gapstr.py rename to netarch/gapstr.py diff --git a/ip.py b/netarch/ip.py similarity index 100% rename from ip.py rename to netarch/ip.py diff --git a/py_pcap.py b/netarch/py_pcap.py similarity index 100% rename from py_pcap.py rename to netarch/py_pcap.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..5302067 --- /dev/null +++ b/setup.py @@ -0,0 +1,21 @@ +from setuptools import setup, find_packages + +setup( + name="netarch", + version="0.0", + author="Neale Pickett", + author_email="neale@lanl.gov", + description=("Classes to aid in the dissection of network protocols and cryptanalysis"), + long_description=open("README.txt").read(), + license=open("COPYING.txt").read(), + keywords="network protocol dissection cryptanalysis", + url="http://woozle.org/~neale/projects/netarch", + packages=find_packages(), + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Information Technology", + "License :: Other/Proprietary License", + "Programming Language :: Python :: 2 :: Only", + "Topic :: System :: Networking" + ] +)