Skip to content

Commit

Permalink
setuptools fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Iain R. Learmonth committed Jul 1, 2016
1 parent 75cc364 commit ffc4ce4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion pathspider/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def job_feeder(inputfile, spider):
spider.shutdown()
print("job_feeder: stopped")

if __name__ == "__main__":
def run_pathspider():
parser = argparse.ArgumentParser(description='''Pathspider will spider the
paths.''')
parser.add_argument('-s', '--standalone', action='store_true', help='''run in
Expand Down Expand Up @@ -92,3 +92,5 @@ def job_feeder(inputfile, spider):
except KeyboardInterrupt:
print("kthxbye")

if __name__ == "__main__":
run_pathspider()
1 change: 1 addition & 0 deletions requirements_doc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repoze.sphinx.autointerface
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],

# What does your project relate to?
keywords='internet measurement ecn torrent bittorrent web www analysis router congestion path transparency mplane',
keywords='internet measurement ecn torrent bittorrent web www analysis router congestion path transparency',

# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
Expand All @@ -68,7 +69,7 @@
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['ipfix', 'bencodepy', 'numpy', 'pandas', 'dnspython3'],
install_requires=['twisted', 'zope.interface'],

# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
Expand All @@ -89,7 +90,7 @@
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'pathspider=pathspider:main',
'pathspider=pathspider.run:run_pathspider',
],
},
)

0 comments on commit ffc4ce4

Please sign in to comment.