1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# http://peak.telecommunity.com/DevCenter/setuptools#developer-s-guide
# from distutils.core import setup
from setuptools import setup, find_packages
from codecs import open
with open('README.rst', encoding='utf-8') as f:
long_description = f.read()
requires = []
# Python 2.6 does not have importlib, but a package exists for that
from sys import version_info
if version_info[:2] < (2, 7):
requires.append('importlib')
setup(
name="nine",
version='1.1.0',
description="Python 2 / 3 compatibility, like six, but favouring Python 3",
long_description=long_description,
url='https://github.com/nandoflorestan/nine',
author='Nando Florestan',
author_email="nandoflorestan@gmail.com",
license='Public domain',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='nine',
install_requires=requires,
keywords=[
"python 2", 'python 3', 'python2', 'python3', 'migration',
'compatibility', 'nine', 'six', '2to3', '3to2', 'future',
],
classifiers=[ # http://pypi.python.org/pypi?:action=list_classifiers
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
'License :: Public Domain',
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
],
)
|