mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
v1.2.0.dev1 (<--1.1.10): Stop supporting py<2.7 & py<3.3 (#107).
This commit is contained in:
parent
cee248110b
commit
0c4c27fa5c
@ -2,8 +2,6 @@ sudo: false
|
|||||||
language: python
|
language: python
|
||||||
python: 2.7
|
python: 2.7
|
||||||
env:
|
env:
|
||||||
- TOX_ENV=py25
|
|
||||||
- TOX_ENV=py26
|
|
||||||
- TOX_ENV=py27
|
- TOX_ENV=py27
|
||||||
- TOX_ENV=py33
|
- TOX_ENV=py33
|
||||||
- TOX_ENV=py34
|
- TOX_ENV=py34
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
1.2.0 (2016-XX-XX)
|
||||||
|
------------------
|
||||||
|
"New Day"
|
||||||
|
|
||||||
|
- Stop supporting `python-2 < 2.7` and `python-3 < 3.3`.
|
||||||
|
|
||||||
|
|
||||||
1.1.10 (2016-01-19)
|
1.1.10 (2016-01-19)
|
||||||
------------------
|
------------------
|
||||||
Serve 1000s of packages, PGP-Sigs, skip versions starting with 'v'.
|
Serve 1000s of packages, PGP-Sigs, skip versions starting with 'v'.
|
||||||
|
17
README.rst
17
README.rst
@ -6,8 +6,8 @@ pypiserver - minimal PyPI server for use with pip/easy_install
|
|||||||
|pypi-ver| |travis-status| |dependencies| |downloads-count| |python-ver| \
|
|pypi-ver| |travis-status| |dependencies| |downloads-count| |python-ver| \
|
||||||
|proj-license|
|
|proj-license|
|
||||||
|
|
||||||
:Version: 1.1.10
|
:Version: 1.2.0.dev1
|
||||||
:Date: 2016-01-18
|
:Date: 2016-XX-XX
|
||||||
:Source: https://github.com/pypiserver/pypiserver
|
:Source: https://github.com/pypiserver/pypiserver
|
||||||
:PyPI: https://pypi.python.org/pypi/pypiserver
|
:PyPI: https://pypi.python.org/pypi/pypiserver
|
||||||
:Travis: https://travis-ci.org/pypiserver/pypiserver
|
:Travis: https://travis-ci.org/pypiserver/pypiserver
|
||||||
@ -18,23 +18,24 @@ pypiserver - minimal PyPI server for use with pip/easy_install
|
|||||||
:backlinks: top
|
:backlinks: top
|
||||||
|
|
||||||
|
|
||||||
*pypiserver* is a minimal PyPI_ compatible server.
|
*pypiserver* is a minimal PyPI_ compatible server based on bottle_.
|
||||||
It can be used to upload and serve packages, wheels and eggs
|
It can be used to upload and serve packages, wheels, eggs and PGP-signatures
|
||||||
to *pip* or *easy_install*.
|
with *pip* or *easy_install*.
|
||||||
The packages are stored in regular directories.
|
The packages are stored in regular directories.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Quickstart: Installation and Usage
|
Quickstart: Installation and Usage
|
||||||
==================================
|
==================================
|
||||||
*pypiserver* will work with python 2.5 --> 2.7 and 3.2 --> 3.4.
|
*pypiserver* `> 1.2.x` works with python `2.7` and `3.3 --> 3.5` or *pypy*.
|
||||||
Python 3.0 and 3.1 may also work, but pypiserver is not being tested
|
Python `3.0 --> 3.2` may also work, but it is not being tested
|
||||||
with these versions.
|
with these versions.
|
||||||
|
For older python-2 version, use version `1.1.x` series.
|
||||||
|
|
||||||
Run the following commands to get your PyPI server up and running::
|
Run the following commands to get your PyPI server up and running::
|
||||||
|
|
||||||
## Installation.
|
## Installation.
|
||||||
pip install pypiserver[passlib]
|
pip install pypiserver ## or : pypiserver[passlib,watchdog]
|
||||||
mkdir ~/packages ## Copy packages into this directory.
|
mkdir ~/packages ## Copy packages into this directory.
|
||||||
|
|
||||||
## Start server.
|
## Start server.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import re as _re
|
import re as _re
|
||||||
|
|
||||||
version = __version__ = "1.1.10"
|
version = __version__ = "1.2.0.dev1"
|
||||||
__version_info__ = tuple(_re.split('[.-]', __version__))
|
__version_info__ = tuple(_re.split('[.-]', __version__))
|
||||||
__updated__ = "2016-01-19"
|
__updated__ = "2016-XX-XX"
|
||||||
|
|
||||||
__title__ = "pypiserver"
|
__title__ = "pypiserver"
|
||||||
__summary__ = "A minimal PyPI server for use with pip/easy_install."
|
__summary__ = "A minimal PyPI server for use with pip/easy_install."
|
||||||
|
@ -56,12 +56,11 @@ def log_request():
|
|||||||
|
|
||||||
@app.hook('after_request')
|
@app.hook('after_request')
|
||||||
def log_response():
|
def log_response():
|
||||||
log.info(config.log_res_frmt, # vars(response)) ## DOES NOT WORK!
|
log.info(config.log_res_frmt, { # vars(response)) ## DOES NOT WORK!
|
||||||
dict(
|
'response': response,
|
||||||
response=response,
|
'status': response.status, 'headers': response.headers,
|
||||||
status=response.status, headers=response.headers,
|
'body': response.body, 'cookies': response._cookies,
|
||||||
body=response.body, cookies=response._cookies,
|
})
|
||||||
))
|
|
||||||
|
|
||||||
|
|
||||||
@app.error
|
@app.error
|
||||||
|
3
setup.py
3
setup.py
@ -55,11 +55,8 @@ setup(name="pypiserver",
|
|||||||
"Operating System :: POSIX",
|
"Operating System :: POSIX",
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
"Programming Language :: Python :: 2",
|
"Programming Language :: Python :: 2",
|
||||||
"Programming Language :: Python :: 2.5",
|
|
||||||
"Programming Language :: Python :: 2.6",
|
|
||||||
"Programming Language :: Python :: 2.7",
|
"Programming Language :: Python :: 2.7",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3.2",
|
|
||||||
"Programming Language :: Python :: 3.3",
|
"Programming Language :: Python :: 3.3",
|
||||||
"Programming Language :: Python :: 3.4",
|
"Programming Language :: Python :: 3.4",
|
||||||
"Programming Language :: Python :: 3.5",
|
"Programming Language :: Python :: 3.5",
|
||||||
|
@ -47,7 +47,7 @@ def test_default_pkgdir(main):
|
|||||||
|
|
||||||
|
|
||||||
def test_noargs(main):
|
def test_noargs(main):
|
||||||
assert main([]) == dict(host="0.0.0.0", port=8080, server="auto")
|
assert main([]) == {'host': "0.0.0.0", 'port': 8080, 'server': "auto"}
|
||||||
|
|
||||||
|
|
||||||
def test_port(main):
|
def test_port(main):
|
||||||
|
2
tox.ini
2
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py25,py26,py27,py33,py34
|
envlist = py27,py33,py34
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps=-r{toxinidir}/requirements/dev.pip
|
deps=-r{toxinidir}/requirements/dev.pip
|
||||||
|
Loading…
Reference in New Issue
Block a user