2011-07-29 02:02:28 +02:00
|
|
|
#! /usr/bin/env python
|
|
|
|
|
|
|
|
from distutils.core import setup
|
|
|
|
|
2011-07-29 02:41:27 +02:00
|
|
|
|
2011-07-29 02:02:28 +02:00
|
|
|
def get_version():
|
|
|
|
d = {}
|
|
|
|
try:
|
|
|
|
execfile("pypiserver/__init__.py", d, d)
|
|
|
|
except (ImportError, RuntimeError):
|
|
|
|
pass
|
|
|
|
return d["__version__"]
|
|
|
|
|
|
|
|
|
|
|
|
setup(name="pypiserver",
|
|
|
|
description="minimal pypi server",
|
|
|
|
version=get_version(),
|
|
|
|
packages=["pypiserver"],
|
|
|
|
scripts=["pypi-server"],
|
|
|
|
url="https://github.com/schmir/pypiserver",
|
|
|
|
maintainer="Ralf Schmitt",
|
|
|
|
maintainer_email="ralf@systemexit.de")
|