Commit Graph

108 Commits

Author SHA1 Message Date
Ralf Schmitt
95c63abbf9 prepare 0.6.0 release
- up version to 0.6.0
- document passlib
- fix -P, --passwords description
2012-06-06 00:18:51 +02:00
Ralf Schmitt
ab7d43e9db do not use backslashes in filenames
pip is easily confused if the path contains backslashes.
2012-05-31 12:12:56 +02:00
Ralf Schmitt
64334af9e9 enhance upload with support for apache's htpasswd files
use passlib in order to read apache's htpasswd files. make 'setup.py
register' work.
2012-05-07 18:24:22 +02:00
Eric Moritz
4ceb82458c Added rudimentary support for uploads 2012-04-23 21:42:30 +02:00
Ralf Schmitt
1340b90ac9 update MANIFEST.in 2012-04-08 00:32:20 +02:00
Ralf Schmitt
9b469819ea add section on paste/pastedeploy 2012-04-08 00:29:14 +02:00
Ralf Schmitt
3257940b11 define paste.app_factory entry point in setup.py 2012-04-07 23:53:48 +02:00
Ralf Schmitt
814971fefd expand ~ in root path when using paste 2012-04-07 23:46:11 +02:00
Ralf Schmitt
3df36e66a0 instantiate a new app object/module for each pypiserver.app call
adapt test_main to the new situation.
2012-04-07 23:23:29 +02:00
Ralf Schmitt
81571c60a3 use pypiserver.app factory function in test_app 2012-04-07 23:10:49 +02:00
Ralf Schmitt
1b2f37ede5 do not use the default bottle app 2012-04-07 22:57:40 +02:00
Ralf Schmitt
c0f82470c6 move bottle app function to _app module
I'd like to run multiple pypiserver wsgi apps inside one process and
plan to do so by reloading pypiserver._app.

this is the first step. we move all of the @route'd functions to _app.
2012-04-07 22:30:54 +02:00
Ralf Schmitt
ace7c63fa5 python 3 fixes for core.py 2012-04-06 20:46:48 +02:00
Ralf Schmitt
33f814d847 make pypiserver work with non-root paths
this makes it possible to run pypiserver as CGI script of with paste.
2012-04-03 22:59:01 +02:00
Ralf Schmitt
e7cf0e1d7f use paste to test non-root installations 2012-04-03 22:59:01 +02:00
Ralf Schmitt
ec81bdd5d8 make pypiserver 'paste compatible'
i.e. add pypiserver.paste_app_factory
2012-04-03 22:45:45 +02:00
Ralf Schmitt
7ce5bd8eb1 up version to 0.5.2, update docs for upcoming release 0.5.2 2012-03-26 23:25:03 +02:00
Ralf Schmitt
390e8f522e Revert "use relative links in order to make pypiserver work as cgi script"
It didn't work perfectly when urls do not end with slashes (/simple/, /packages/).

This reverts commit f045d8f17a05e78bf08221d1947f2c6e839f8917.
2012-03-26 02:40:12 +02:00
Ralf Schmitt
294886b292 document pypiserver.app
fixes #3
2012-03-26 02:22:41 +02:00
Ralf Schmitt
5d7ecc5801 provide a way to get the WSGI app
we need this for issue #3

The following now already works:

,----
| gunicorn -w4 'pypiserver:app("/home/ralf/packages")'
`----
2012-03-26 01:48:08 +02:00
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
0.5.1
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 0.5.0 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 0.4.1 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 0.4.0 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