diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-11-11 14:00:28 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-11-11 14:00:28 +1300 |
commit | ec17e70d9e82bc6ae62300397b2f849c2d8dcc85 (patch) | |
tree | 58bedbf3da0cc588d56fcafbe27d3191854ea23a | |
parent | 5025bf872c4ea407785ed1c0fbd0b7703ccd2a04 (diff) | |
download | mitmproxy-ec17e70d9e82bc6ae62300397b2f849c2d8dcc85.tar.gz mitmproxy-ec17e70d9e82bc6ae62300397b2f849c2d8dcc85.tar.bz2 mitmproxy-ec17e70d9e82bc6ae62300397b2f849c2d8dcc85.zip |
Remove entry points in favor of vanilla scripts, fix test-release
-rwxr-xr-x | release/test-release | 15 | ||||
-rw-r--r-- | setup.py | 11 |
2 files changed, 9 insertions, 17 deletions
diff --git a/release/test-release b/release/test-release index 8b53c14c..8cbcea8c 100755 --- a/release/test-release +++ b/release/test-release @@ -23,15 +23,16 @@ python ./setup.py -q sdist --dist-dir $DST echo "Creating virtualenv for test install..." virtualenv -q $DST/venv +cd $DST echo "Installing netlib..." -$DST/venv/bin/pip -q install --download-cache ~/.pipcache $DST/netlib* +./venv/bin/pip -q install --download-cache ~/.pipcache ./netlib* echo "Installing pathod..." -$DST/venv/bin/pip -q install --download-cache ~/.pipcache $DST/pathod* +./venv/bin/pip -q install --download-cache ~/.pipcache ./pathod* echo "Installing mitmproxy..." -$DST/venv/bin/pip -q install --download-cache ~/.pipcache $DST/mitmproxy* +./venv/bin/pip -q install --download-cache ~/.pipcache ./mitmproxy* echo "Running binaries..." -$DST/venv/bin/mitmproxy --version -$DST/venv/bin/mitmdump --version -$DST/venv/bin/pathod --version -$DST/venv/bin/pathoc --version +./venv/bin/mitmproxy --version +./venv/bin/mitmdump --version +./venv/bin/pathod --version +./venv/bin/pathoc --version @@ -36,10 +36,6 @@ for script in scripts: if os.name == "nt": deps.add("pydivert>=0.0.4") # Transparent proxying on Windows -console_scripts = [ - "%s = libmproxy.main:%s" % (s, s) for s in scripts -] - setup( name="mitmproxy", @@ -66,14 +62,9 @@ setup( "Topic :: Internet :: Proxy Servers", "Topic :: Software Development :: Testing" ], - packages=find_packages(), include_package_data=True, - - entry_points={ - 'console_scripts': console_scripts - }, - + scripts = scripts, install_requires=list(deps), extras_require={ 'dev': [ |