From a4f982582ca781080ad278f6e325594189934b7c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 20 Feb 2014 13:54:15 -0800 Subject: [PATCH] setup.py: Package package-cache with distutils The AUTHORS file doesn't exist yet, but we'll have it soon. --- MANIFEST.in | 2 ++ package_cache/__init__.py | 2 ++ setup.py | 45 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.py 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'], + ) -- 2.26.2