summaryrefslogtreecommitdiffstats
path: root/setup.py
AgeCommit message (Collapse)Author
2020-06-17Ask setuptools to require Python 3.5 and aboveWilson E. Husin
python_requires will be evaluated by setuptools to ensure the package is compatible with currently active Python interpreter. Reference: https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires Closes #470 Signed-off-by: Wilson Husin <wilsonehusin@gmail.com>
2020-06-05Fix errors in long_documentationv1.0.1Brian May
2020-05-29Updated supported Python versionsBrian May
* Drop 2.7 * Add 3.7 and 3.8
2019-12-13Auto sudoers file (#269)William Mantly
* added sudoers options to command line arguments * added sudoers options to command line arguments * template for sudoers file * Added option for GUI sudo * added support for GUI sudo * script for auto adding sudo file * sudoers auto add works and validates * small change * Clean up for CI * removed code that belongs in another PR * added path for package bins * added sudoers bin * added sudoers-add to setup file * fixed issue with sudoers bash script * auto sudoers now works * added --sudoers-no-modify option * bin now works with ./run * removed debug print * Updated sudoers-add script * Fixed error passing sudoers config to script * more dynamic building of sudoers file * added option to specify sudoers.d file name * fixed indent issue * fixed indent issue * indent issue * clean up * formating * docs * fix for flags * Update usage.rst * removed shell=true * cleared CI errors * cleared CI errors * removed random * cleared linter issue * cleared linter issue * cleared linter issue * updated sudoers-add script * safer temp file * moved bin directory * moved bin directory * removed print * fixed spacing issue * sudoers commands must only containe upper case latters
2018-10-17Added coverage report to testsBastian Venthur
2017-11-16Remove trailing whitespaceBrian May
2017-11-16Updating per @brianmay correspondence in ↵Henri Yandell
https://github.com/sshuttle/sshuttle/issues/186
2017-07-09Fix error in requirements.rstBrian May
2016-10-29Move pytest-runner to tests_requirevieira
As it is only required to run the tests move pytest-runner from setup_requires to tests_require as suggested by @jonathanunderwood on #115.
2016-07-10Add pytest-runner supportBrian May
2016-04-18Attempt readthedocs workaroundBrian May
readthedocs alters docs/conf.py which in turn means python_scm detects a version and incorrectly adjusts the version number. Here we try to work around this problem. We do this by renaming the docs/conf.py file and copying it back to docs/conf.py when setup.py is invoked. This way, hopefully, scm won't see the changes to docs/conf.py References: http://stackoverflow.com/questions/35811267/readthedocs-and-setuptools-scm-version-wrong/36386177 https://github.com/pypa/setuptools_scm/issues/84
2016-01-17Fix installation from wheelBrian May
Fix the following error. Looks like we have to have a function to call for the entrypoint. $ pip install dist/sshuttle-0.76.dev8_ngf59508f-py2-none-any.whl Processing ./dist/sshuttle-0.76.dev8_ngf59508f-py2-none-any.whl Installing collected packages: sshuttle Exception: Traceback (most recent call last): File "/tmp/ddd/local/lib/python2.7/site-packages/pip/basecommand.py", line 211, in main status = self.run(options, args) File "/tmp/ddd/local/lib/python2.7/site-packages/pip/commands/install.py", line 311, in run root=options.root_path, File "/tmp/ddd/local/lib/python2.7/site-packages/pip/req/req_set.py", line 646, in install **kwargs File "/tmp/ddd/local/lib/python2.7/site-packages/pip/req/req_install.py", line 803, in install self.move_wheel_files(self.source_dir, root=root) File "/tmp/ddd/local/lib/python2.7/site-packages/pip/req/req_install.py", line 998, in move_wheel_files isolated=self.isolated, File "/tmp/ddd/local/lib/python2.7/site-packages/pip/wheel.py", line 479, in move_wheel_files maker.make_multiple(['%s = %s' % kv for kv in console.items()]) File "/tmp/ddd/local/lib/python2.7/site-packages/pip/_vendor/distlib/scripts.py", line 364, in make_multiple filenames.extend(self.make(specification, options)) File "/tmp/ddd/local/lib/python2.7/site-packages/pip/_vendor/distlib/scripts.py", line 353, in make self._make_script(entry, filenames, options=options) File "/tmp/ddd/local/lib/python2.7/site-packages/pip/_vendor/distlib/scripts.py", line 244, in _make_script script = self._get_script_text(entry).encode('utf-8') File "/tmp/ddd/local/lib/python2.7/site-packages/pip/wheel.py", line 396, in _get_script_text "import_name": entry.suffix.split(".")[0], AttributeError: 'NoneType' object has no attribute 'split'
2016-01-13Experimental: Use setuptools-scmBrian May
Closes: #58
2016-01-12Revert "fixes the sshuttle entry-point in setup.py"Brian May
See #57 for details. This reverts commit b4b283b2145f937248e90032d6944178278fb1f5.
2016-01-09fixes the sshuttle entry-point in setup.pyzimbatm
This fixes the following error: "import_name": entry.suffix.split(".")[0], AttributeError: 'NoneType' object has no attribute 'split' See https://pythonhosted.org/setuptools/setuptools.html#automatic-script-creation
2015-11-27Add tests_require into setup.pyFelix Yan
pytest and mock are needed for running tests.
2015-11-27Improve summary line.Brian May
2015-11-16Add Python 3.5 support.Brian May
2015-11-15Restructure codeBrian May
* Make compatible with setuptools. * Load modules via ssh into separate modules, not the one name space.