summaryrefslogtreecommitdiff
path: root/setup.py
blob: 3f03dfc5de75b585ca38d82b767b6296a5d1ed73 (plain)
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
#!/usr/bin/env python

from __future__ import absolute_import

import sys
from distutils.core import setup

install_requires = []
if sys.version < '3':
    install_requires += ['pies2overrides']
elif sys.version < '3.2':
    install_requires += ['argparse']

if sys.version < '3.4':
    install_requires += ['enum34']

setup(name='pies',
      version='2.0.0',
      description='The simplest way to write one program that runs on both Python 2 and Python 3.',
      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-1.0.2.tar.gz?raw=true',
      license="MIT",
      install_requires=install_requires,
      requires=install_requires,
      py_modules=['pies'])