from setuptools import setup, find_packages
from pip.req import parse_requirements
import uuid

# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())

# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
reqs = [str(ir.req) for ir in install_reqs]

version = '0.81'

setup(
    name='cpuAscii',
    version=version,
    py_modules=['snmpEngine'],
    packages=find_packages(),
    install_requires=reqs,
    include_package_data=True,
    description = 'Python app to see realtime cpu and memory infos from snmp',
    author = 'Francesco Marangione',
    author_email = 'mft@mftnet.com',
    url = 'https://github.com/mft3000/cpuAscii', # use the URL to the github repo
    download_url = 'https://github.com/mft3000/cpuAscii/tarball/%s' % version,
    keywords = ['snmp', 'Cisco', 'networking'],
    classifiers = [],
)