1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00
Commit Graph

99 Commits

Author SHA1 Message Date
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
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 0.3.0 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