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
52
53
|
#!/usr/bin/env python
from __future__ import absolute_import
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
install_requires = []
if sys.version_info[0] < 3:
install_requires += ['pies2overrides']
elif sys.version_info[1] < 2:
install_requires += ['argparse']
if sys.version_info[0] < 3 or sys.version_info[1] < 4:
install_requires += ['enum34']
try:
import pypandoc
readme = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
readme = ''
setup(name='pies',
version='2.0.0',
description='The simplest way to write one program that runs on both Python 2 and Python 3.',
long_readme=readme,
author='Timothy Crosley',
author_email='timothy.crosley@gmail.com',
url='https://github.com/timothycrosley/pies',
download_url='https://github.com/timothycrosley/pies/blob/master/dist/pies-2.0.0.tar.gz?raw=true',
license="MIT",
install_requires=install_requires,
requires=install_requires,
packages=['pies'],
keywords='Python, Python2, Python3, six, future, refactoring, single-code-base',
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'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.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities'])
|