|
| 1 | +#!/usr/bin/env python |
| 2 | +import os |
| 3 | +import codecs |
| 4 | +try: |
| 5 | + from setuptools import setup, find_packages |
| 6 | +except ImportError: |
| 7 | + from ez_setup import use_setuptools |
| 8 | + use_setuptools() |
| 9 | + from setuptools import setup, find_packages |
| 10 | + |
| 11 | +import smmap |
| 12 | + |
| 13 | +if os.path.exists("README.rst"): |
| 14 | + long_description = codecs.open('README.rst', "r", "utf-8").read() |
| 15 | +else: |
| 16 | + long_description = "See http://github.com/nvie/smmap/tree/master" |
| 17 | + |
| 18 | +setup( |
| 19 | + name="smmap", |
| 20 | + version=smmap.__version__, |
| 21 | + description="A pure git implementation of a sliding window memory map manager", |
| 22 | + author=smmap.__author__, |
| 23 | + author_email=smmap.__contact__, |
| 24 | + url=smmap.__homepage__, |
| 25 | + platforms=["any"], |
| 26 | + license="BSD", |
| 27 | + packages=find_packages(), |
| 28 | + zip_safe=True, |
| 29 | + classifiers=[ |
| 30 | + # Picked from |
| 31 | + # http://pypi.python.org/pypi?:action=list_classifiers |
| 32 | + #"Development Status :: 1 - Planning", |
| 33 | + #"Development Status :: 2 - Pre-Alpha", |
| 34 | + #"Development Status :: 3 - Alpha", |
| 35 | + "Development Status :: 4 - Beta", |
| 36 | + #"Development Status :: 5 - Production/Stable", |
| 37 | + #"Development Status :: 6 - Mature", |
| 38 | + #"Development Status :: 7 - Inactive", |
| 39 | + "Environment :: Console", |
| 40 | + "Intended Audience :: Developers", |
| 41 | + "License :: OSI Approved :: BSD License", |
| 42 | + "Operating System :: OS Independent", |
| 43 | + "Operating System :: POSIX", |
| 44 | + "Operating System :: Windows", |
| 45 | + "Operating System :: OSX", |
| 46 | + "Programming Language :: Python", |
| 47 | + ], |
| 48 | + long_description=long_description, |
| 49 | +) |
0 commit comments