8000 GitHub - hugovk/drop-python at template
[go: up one dir, main page]

Skip to content

hugovk/drop-python

 
 

Repository files navigation

Drop Python

Build Status

It's about time to drop support for old Pythons.

How to use

usage: generate.py [-h] [-n NUMBER] [-v VERSION [VERSION ...]]

Generate

optional arguments:
  -h, --help            show this help message and exit
  -n NUMBER, --number NUMBER
                        Number of packages to chart (default: 360)
  -v VERSION [VERSION ...], --version VERSION [VERSION ...]
                        Python version or versions to check (default: ['2.6',
                        '3.2', '3.3'])

For example:

$ python generate.py

$ python generate.py -v 3.2 -n 100

$ python generate.py -v 2.6

See also build.sh.

How to test locally

In another terminal:

$ python3 -m http.server 8000

# Or:

$ python2 -m SimpleHTTPServer 8000

# Or:

python -m $(python -c 'import sys; print("http.server" if sys.version_info[:2] > (2, 7) else "SimpleHTTPServer")') 8000

Then visit http://localhost:8000/

How to deploy

Run build.sh to generated the files from the master branch, and copy them to a build subdirectory. Then run deploy.sh to checkout gh-pages, copy the build files back, commit and push to GitHub Pages. Do this hourly from cron.

Thanks

This is derivative work from Python Wheels, a site that tracks progress in the new Python package distribution standard called Wheels. Thanks also to Python 3 Wall of Superpowers for the concept and making their code open source, and see also Python 3 Readiness.

0