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
Ralf Schmitt
475bd9e1c6
fix choose_server to return "auto" instead of None.
...
passing server=None to bottle won't work, we need to pass auto here.
2011-07-29 13:24:47 +02:00
Ralf Schmitt
d956f7ce67
get gid of warning message from pkg_resources.
...
,----
| /usr/lib/python2.7/site-packages/zope/__init__.py:3: UserWarning: Module bottle was already imported from /home/ralf/local/lib/python2.7/site-packages/pypiserver/bottle.pyc, but /home/ralf/.local/lib/python2.7/site-packages is being added to sys.path
| import pkg_resources
`----
2011-07-29 03:32:43 +02:00
Ralf Schmitt
c2db6f0c0b
add --version option, add short usage message.
2011-07-29 03:29:29 +02:00
Ralf Schmitt
e760b77a9b
add README.rst.
2011-07-29 03:14:09 +02:00
Ralf Schmitt
a56fa3293b
whitespace cleanup.
2011-07-29 02:41:27 +02:00
Ralf Schmitt
f8e27cf1b4
parse options.
2011-07-29 02:29:35 +02:00
Ralf Schmitt
0725b56d7f
update MANIFEST.in
2011-07-29 02:03:55 +02:00
Ralf Schmitt
85983fd36f
import initial version
2011-07-29 02:02:28 +02:00
Ralf Schmitt
a3f4ca1709
import bottle 0.9.6
2011-07-29 01:37:24 +02:00
Ralf Schmitt
404a7d85b4
add .gitignore
2011-07-29 01:11:56 +02:00