2008-10-16 00:02:57 +02:00
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
|
|
|
import os
|
|
|
|
|
2008-10-28 18:21:46 +01:00
|
|
|
version = '0.2.1'
|
2008-10-16 00:02:57 +02:00
|
|
|
|
|
|
|
doc_dir = os.path.join(os.path.dirname(__file__), 'docs')
|
|
|
|
index_filename = os.path.join(doc_dir, 'index.txt')
|
|
|
|
long_description = """\
|
2008-10-16 00:24:00 +02:00
|
|
|
The main website for pip is `pip.openplans.org
|
|
|
|
<http://pip.openplans.org>`_
|
2008-10-16 00:02:57 +02:00
|
|
|
|
|
|
|
"""
|
|
|
|
long_description = long_description + open(index_filename).read().split('split here', 1)[1]
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-16 00:24:00 +02:00
|
|
|
setup(name='pip',
|
2008-10-16 00:02:57 +02:00
|
|
|
version=version,
|
2008-10-16 00:24:00 +02:00
|
|
|
description="pip installs packages. Python packages. An easy_install replacement",
|
2008-10-16 00:02:57 +02:00
|
|
|
long_description=long_description,
|
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 4 - Beta',
|
|
|
|
#'Development Status :: 5 - Production/Stable',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Topic :: Software Development :: Build Tools',
|
|
|
|
],
|
|
|
|
keywords='easy_install distutils setuptools egg virtualenv',
|
|
|
|
author='The Open Planning Project',
|
|
|
|
author_email='python-virtualenv@groups.google.com',
|
2008-10-16 00:24:00 +02:00
|
|
|
url='http://pip.openplans.org',
|
2008-10-16 00:02:57 +02:00
|
|
|
license='MIT',
|
2008-10-16 00:24:00 +02:00
|
|
|
py_modules=['pip'],
|
2008-10-16 00:02:57 +02:00
|
|
|
## FIXME: is this the best way? (Works with distutils, but
|
|
|
|
## don't we really require setuptools anyway?)
|
2008-10-16 00:24:00 +02:00
|
|
|
scripts=['scripts/pip'],
|
2008-10-16 00:02:57 +02:00
|
|
|
)
|
|
|
|
|