Commit Graph

238 Commits

Author SHA1 Message Date
Ralf Schmitt f045d8f17a use relative links in order to make pypiserver work as cgi script
the root url where pypi lives may not be '/' in that case.
2012-03-26 01:06:43 +02:00
Ralf Schmitt ec01935af6 test guess_pkgname_and_version with 'pep8' 2012-03-26 01:05:11 +02:00
Ralf Schmitt b09c719fb7 skip archive suffixes for binary distributions 2012-03-26 01:01:04 +02:00
Ralf Schmitt 175911fc6d use case insensitive matching when removing archive suffixes
that removes things like .ZIP
2012-03-26 01:00:54 +02:00
Ralf Schmitt f8818e2d9e add some more tests for guess_pkgname_and_version 2012-03-26 00:59:59 +02:00
Ralf Schmitt 7f97612a7e fix pytz issue #6
relax the version regex a bit.
2012-03-26 00:59:59 +02:00
Ralf Schmitt dc0303bb1f add some tests for the pytz issue #6
pytz's version is '2012b' which we currently don't recognize as a
version string.
2012-03-26 00:59:59 +02:00
Ralf Schmitt fca2f46868 make 'pypi-server -U' compatible with pip 1.1
'pip install -d' now also downloads dependencies in the new version
1.1. specifying --no-deps makes it download only the given package.

up version to 0.5.1, update documentation
2012-02-23 11:24:09 +01:00
Anthon van der Neut 088e4b29aa do not show the "no releases found on pypi" message if the list is empty 2012-02-06 23:23:54 +01:00
Ralf Schmitt 2bb4238620 remove commit-standalone from MANIFEST.in 2011-12-05 22:37:56 +01:00
Ralf Schmitt 4d20268891 fix typo 2011-12-05 22:36:29 +01:00
Ralf Schmitt 86fbd68f6b fix typos in documentation 2011-12-05 22:33:51 +01:00
Ralf Schmitt 4560c64433 update documentation for 0.5.0 release 2011-12-05 22:30:31 +01:00
Ralf Schmitt 9aa6f69ff5 cleanup whitespace 2011-12-05 22:20:50 +01:00
Ralf Schmitt 9b14fbfb08 merge with the single-source branch 2011-12-05 22:14:23 +01:00
Ralf Schmitt ee4319d7f6 add short shell script which commits pypi-server-standalone.py 2011-12-05 22:09:20 +01:00
Ralf Schmitt fda8a0cb9a up version to 0.5.0 2011-11-24 02:08:31 +01:00
Ralf Schmitt 1601546b21 make pypi-server-standalone.py work with python 3 2011-11-24 01:54:22 +01:00
Ralf Schmitt 4939534404 do not run 2to3 anymore when installing 2011-11-24 01:54:22 +01:00
Ralf Schmitt 2d3f7bfb7a make bottle.py work without running 2to3 on python3
this is a copy of bottle.py from
https://github.com/schmir/bottle/commits/single-source
2011-11-24 01:54:22 +01:00
Ralf Schmitt 3e253b3bbd make core.py and manage.py compatible with python 3 without running 2to3 2011-11-23 22:59:31 +01:00
Ralf Schmitt 7134ffc966 update README for 0.4.1 release 2011-11-23 22:29:35 +01:00
Ralf Schmitt 0229f80ef4 .gitignore egg-info 2011-11-23 22:24:19 +01:00
Ralf Schmitt 8f4a87a2ad up version to 0.4.1 2011-11-23 22:16:27 +01:00
Ralf Schmitt 4cd4fa380e upgrade bottle to 0.9.7
it contains a workaround for a bug in some versions of lib2to3, which
might break the installation of pypiserver on python 3.
2011-11-23 22:15:24 +01:00
Ralf Schmitt 9e53d3170d get rid of dependency on pkg_resources module when running 'pypi-server -U'
we still need a pip executable in $PATH however for -Ux
2011-11-23 22:07:22 +01:00
Ralf Schmitt 236501f9b7 add python 3 trove classifiers 2011-11-19 21:25:59 +01:00
Ralf Schmitt 1115414ce5 update docs for 0.4.0 release, up version to 0.4.0 2011-11-19 21:25:59 +01:00
Ralf Schmitt 333ae55c34 use string interpolation instead of plus operator 2011-11-10 20:09:17 +01:00
Ralf Schmitt 1866a7ad6e make pypiserver run on python 3.x
unfortunately the tests do not work, since twill isn't ported yet.
2011-11-08 00:11:01 +01:00
Ralf Schmitt 1b2bb1a924 update only to stable (i.e. non alpha, beta, rc, dev) versions
...unless -u is specified
2011-11-07 22:59:55 +01:00
Ralf Schmitt d1c05dfe9e show packages without any release when updating 2011-11-07 22:18:21 +01:00
Ralf Schmitt 57f2dac439 make "pypi-server -U" call manage.update
-U prints the commands only, -Ux will execute them.
2011-11-06 23:07:42 +01:00
Ralf Schmitt 2d3e87d101 add code which searches for updates on pypi.python.org
this uses the xmlrpc interface on pypi.python.org in order to find
updates. It depends on setuptools or distribute to be installed and
uses pip to download updates.
2011-10-25 02:33:40 +02:00
Ralf Schmitt 11ddb341e9 compute absolute path in pkgset.__init__ 2011-10-25 02:20:35 +02:00
Ralf Schmitt 4522739b21 add guess_pkgname_and_version function 2011-10-25 02:19:35 +02:00
Ralf Schmitt 7aaa44d49d update MANIFEST.in 2011-10-07 21:21:21 +02:00
Ralf Schmitt 74d36e8334 update usage message
mention that we skip directories and files starting with a dot.
2011-10-07 21:09:58 +02:00
Ralf Schmitt e330d960f8 update docs with changelog, up version to 0.3.0 2011-10-07 20:56:30 +02:00
Ralf Schmitt b680e34527 test that directories starting with a dot are ignored 2011-10-07 20:39:52 +02:00
Ralf Schmitt 54b47d9e88 scan directory and subdirectories recursively for packages
Instead of just looking into the root directory we now use os.walk to
scan the whole directory tree under the given root directory for
packages.  We skip packages and directories starting with a dot.
2011-10-04 01:08:34 +02:00
Ralf Schmitt 2af3c9f719 return 404 when we don't have a package 2011-09-01 01:38:49 +02:00
Ralf Schmitt 219497b555 test for 404 when we don't have a package 2011-09-01 01:38:22 +02:00
Ralf Schmitt 16684872d0 cleanup with twill.remove_wsgi_intercept 2011-09-01 01:08:32 +02:00
Ralf Schmitt 7a4a6a2d97 work around issue caused by mechanize when using pypy to run tests 2011-09-01 00:50:56 +02:00
Ralf Schmitt 2965bfa4f8 return 404 for filenames starting with a dot 2011-09-01 00:20:55 +02:00
Ralf Schmitt cd811d131f add more tests for /simple/ 2011-09-01 00:19:14 +02:00
Ralf Schmitt 01a9288108 test that we don't serve files starting with a dot 2011-09-01 00:07:40 +02:00
Ralf Schmitt c24b490cfa test fallback to pypi.python.org 2011-08-31 22:00:09 +02:00
Ralf Schmitt 7669d58114 return 404 for /favicon.ico 2011-08-31 21:23:50 +02:00