https://github.com/srid/tox-bootstrap
OUTDATED REPO; see http://code.google.com/p/pytox/source/browse/toxbootstrap.py
https://github.com/srid/tox-bootstrap
Last synced: 9 months ago
JSON representation
OUTDATED REPO; see http://code.google.com/p/pytox/source/browse/toxbootstrap.py
- Host: GitHub
- URL: https://github.com/srid/tox-bootstrap
- Owner: srid
- Created: 2010-08-02T21:41:22.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2010-09-24T16:51:15.000Z (over 15 years ago)
- Last Synced: 2025-05-16T21:38:31.862Z (about 1 year ago)
- Language: Python
- Homepage: http://code.google.com/p/pytox/issues/detail?id=1
- Size: 102 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
tox-bootstrap
=============
http://code.google.com/p/pytox/issues/detail?id=1
Getting started
---------------
::
$ cd my_project/
$ ls
. .. src/ doc/ setup.py tox.ini
$ curl http://github.com/srid/tox-bootstrap/raw/master/toxbootstrap.py -O
Instead of running "tox", now you can just run "python toxbootstrap.py" which
will take care of installing tox (if not already installed into
``.tox/toxinstall``)::
$ python toxbootstrap.py
If you're using Hudson_, you may also do::
import sys
sys.path.insert(0, '.') # sometimes necessary :/
import toxbootstrap
toxbootstrap.cmdline() # also accepts argv list
.. _Hudson: http://hudson-ci.org/
ToDo
----
1. Detect tox in ``$PATH`` (eg: ``C:\Python26\Scripts`` or
``%APPDATA%\Python\Scripts``)
2. Gracefully ignore PyPI xmlrpc downtime errors when checking for new release.