1. Jason R. Coombs
  2. jaraco.geo

Commits

jaraco  committed 206015d

Added 2to3 build support

  • Participants
  • Parent commits 1cf8cc9
  • Branches default

Comments (0)

Files changed (2)

File docs/index.txt

View file
 <https://svn.jaraco.com/jaraco/python/jaraco.geo#egg=jaraco.geo-dev>`_ with
 ``easy_install jaraco.geo==dev``.
 
+Requirements
+------------
+
+As Python support for namespace packages is still in development,
+setuptools or distribute is required.
+
+Also, the current geotrans2 dynamic libraries are currently built only
+for Windows, so support for other platforms is currently not present.
+However, the DMS class should be usable in a pure-python environment.
+
 Contents
 --------
 
 Changes
 -------
 
+1.1
+~~~
+
+* Added 2to3 support - now easy_installs under Python 2 and Python 3.
+
 1.0
 ~~~
 

File setup.py

View file
 Copyright © 2004-2010 Jason R. Coombs
 """
 
+try:
+	from distutils.command.build_py import build_py_2to3 as build_py
+except ImportError:
+	from distutils.command.build_py import build_py
+
 from setuptools import setup, find_packages
 
 __author__ = 'Jason R. Coombs <jaraco@jaraco.com>'
 		'nose>=0.10',
 	],
 	test_suite = "nose.collector",
+	cmdclass=dict(build_py=build_py),
 )