Skip to content
This repository has been archived by the owner on Feb 24, 2019. It is now read-only.

Commit

Permalink
Merge in release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Sep 4, 2013
2 parents 3dfe07d + 31a06f2 commit 9105b41
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 87 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.pyc
~*
*.swp*
build
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# file GENERATED by distutils, do NOT edit
configparser.py
pies.py
setup.py
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Integrating pies into your diet

Using and integrating pies into an existing Python 2.6 code base (to achieve Python 3 dual support) couldn't be simpler:

from __future__ import absolute_, division, print_function, unicode_literals

from pies import *

You will then simply have to make some simple changes to your Python code:
Expand Down
81 changes: 0 additions & 81 deletions build/lib.linux-x86_64-2.7/pies.py

This file was deleted.

1 change: 1 addition & 0 deletions configparser.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from ConfigParser import *
Binary file modified dist/pies-1.0.1.tar.gz
Binary file not shown.
Binary file added dist/pies-1.0.2.tar.gz
Binary file not shown.
2 changes: 0 additions & 2 deletions pies.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""

from __future__ import division, print_function, absolute_import, unicode_literals

import sys

if sys.version > '3':
Expand Down
15 changes: 11 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
#!/usr/bin/env python

from distutils.core import setup
import sys

py_modules = ['pies']
install_requires = []
if sys.version < '3':
install_requires += ['ordereddict', 'argparse']
py_modules += ['configparser']

setup(name='pies',
version='1.0.1',
version='1.0.2',
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.0.tar.gz?raw=true',
license="GNU GPLv2",
install_requires=['ordereddict'],
requires=['ordereddict'],
py_modules=['pies'])
install_requires=install_requires,
requires=install_requires,
py_modules=py_modules)

0 comments on commit 9105b41

Please # to comment.