Commit Graph

60 Commits

Author SHA1 Message Date
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
Ralf Schmitt ee3c545932 test that /favicon.ico doesn't redirect and returns a 404 2011-08-31 21:22:52 +02:00
Ralf Schmitt baa2936217 add some tests for the WSGI app 2011-08-30 03:38:59 +02:00
Ralf Schmitt 9e4b3ec32f toxify 2011-08-30 02:37:25 +02:00
Ralf Schmitt 775f64783d add some tests for core.main function 2011-08-30 02:36:25 +02:00
Ralf Schmitt 654f58999a add changelog, up version to 0.2.0. 2011-08-09 23:47:34 +02:00
Ralf Schmitt 97ffc5006f add some documentation about configuring easy_install/pip. 2011-08-09 23:28:14 +02:00
Ralf Schmitt f0683a32b9 redirect to the real pypi.python.org server if a package is not found. 2011-08-09 23:03:50 +02:00
Ralf Schmitt b651d15f36 guess package names from filenames and match on those.
previously we just matched string prefixes and it could happen that
pip/easy_install did install the wrong package, e.g. 'pip install
zope' installed zope.interface.
2011-08-09 22:34:35 +02:00
Ralf Schmitt 9db76f7e98 describe pypi-server-standalone, link to github. 2011-08-01 23:09:42 +02:00
Ralf Schmitt 415a787f86 up version to 0.1.3. 2011-08-01 22:41:08 +02:00
Ralf Schmitt f37dc30f3a generate single file script "pypi-server-standalone.py". 2011-08-01 22:39:16 +02:00
Ralf Schmitt c9484e177d redirect /:prefix to /simple/:prefix/
I always get the url wrong, i.e. use http://localhost:8080 instead of
http://localhost:8080/simple.  Just don't tell anyone.
2011-08-01 22:08:32 +02:00
Ralf Schmitt eca15ce26f redirect to urls with trailing slash under /simple/. 2011-08-01 22:06:36 +02:00
Ralf Schmitt f3c213f5fc add trove classifiers 2011-08-01 02:57:43 +02:00
Ralf Schmitt 72447355b0 describe haufe.eggserver and eggbasket. 2011-08-01 02:40:38 +02:00
Ralf Schmitt 9210efe3d2 update MANIFEST.in 2011-08-01 01:59:23 +02:00
Ralf Schmitt 10aa651b8e up version to 0.1.2. 2011-08-01 01:58:49 +02:00
Ralf Schmitt f7b832fb3c add the usage message. 2011-08-01 01:58:04 +02:00
Ralf Schmitt 3791f68f2e fix usage message. 2011-08-01 01:57:37 +02:00
Ralf Schmitt 0f02cbf734 document --server option. 2011-08-01 01:46:13 +02:00
Ralf Schmitt 768f8f95e6 show version when starting. 2011-08-01 01:21:50 +02:00
Ralf Schmitt 6f7148660c add better usage message, add -i/--interface option. use extra arguments as PACKAGES_DIRECTORY. 2011-08-01 01:18:57 +02:00
Ralf Schmitt 35e09a4469 remove choose_server method, bottle already provides this using the "auto" server. 2011-08-01 00:50:31 +02:00
Ralf Schmitt 74ff96387c show some minimal information for / 2011-08-01 00:34:38 +02:00
Ralf Schmitt 22213a787e add license and similar projects. 2011-07-31 23:42:37 +02:00
Ralf Schmitt 4778f3867e add setup.cfg: build .zip instead of .tar.gz when running sdist. 2011-07-31 22:46:33 +02:00
Ralf Schmitt 6071bc9f85 make prefix comparison case insensitive. 2011-07-29 14:20:03 +02:00
Ralf Schmitt 456a2c0983 up version to 0.1.1. 2011-07-29 13:25:16 +02:00