From: W. Trevor King Date: Thu, 20 Feb 2014 21:54:15 +0000 (-0800) Subject: setup.py: Package package-cache with distutils X-Git-Tag: v0.1~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a4f982582ca781080ad278f6e325594189934b7c;p=package-cache.git setup.py: Package package-cache with distutils The AUTHORS file doesn't exist yet, but we'll have it soon. --- diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..b9da9d0 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include AUTHORS +include COPYING diff --git a/package_cache/__init__.py b/package_cache/__init__.py index 4534842..c9abe07 100644 --- a/package_cache/__init__.py +++ b/package_cache/__init__.py @@ -1,3 +1,5 @@ # Copyright +"A caching proxy for package downloads" + __version__ = '0.0' diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..76d43de --- /dev/null +++ b/setup.py @@ -0,0 +1,45 @@ +# Copyright + +"A caching proxy for package downloads" + +import codecs as _codecs +from distutils.core import setup +import os.path as _os_path + +from package_cache import __version__ + + +_this_dir = _os_path.dirname(__file__) + + +setup( + name='package-cache', + version=__version__, + maintainer='W. Trevor King', + maintainer_email='wking@tremily.us', + url='http://blog.tremily.us/posts/package-cache/', + download_url='https://github.com/wking/package-cache/archive/v{}.tar.gz'.format(__version__), + license='GNU General Public License (GPL)', + platforms=['all'], + description=__doc__, + long_description=_codecs.open( + _os_path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(), + classifiers=[ + 'Development Status :: 2 - Pre-Alpha', + 'Environment :: No Input/Output (Daemon)', + 'Intended Audience :: System Administrators', + 'Operating System :: OS Independent', + 'License :: OSI Approved :: GNU General Public License (GPL)', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + 'Topic :: Internet :: Proxy Servers', + 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', + 'Topic :: System :: Software Distribution', + ], + packages=['package_cache'], + scripts=['package-cache.py'], + provides=['package_cache'], + )