eftsung / pygr

Automatically exported from code.google.com/p/pygr
0 stars 0 forks source link

refactor setup.py, add distutils & better import test #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This wholesale editing of setup.py adds:

 - PEP-8 compliant spacing, commenting, etc.

 - attempt to use setuptools (easy_install) rather than distutils.  setuptools
   is backwards compatible with distutils but supports a bunch of new options,
   including egg generation.

 - switch to imp.find_module to directly attempt import of pyx extension
   modules, rather than path mangling + 'exec import', which is more fragile
   and error prone.

 - direct use of os.path.sep instead of guessing based on os.path.join output

Original issue reported on code.google.com by the.good...@gmail.com on 21 Jun 2008 at 8:58

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by the.good...@gmail.com on 22 Aug 2008 at 4:56

GoogleCodeExporter commented 8 years ago

Original comment by mare...@gmail.com on 21 Feb 2009 at 2:03

GoogleCodeExporter commented 8 years ago
Superseded by issue #67, Istvan's new setup.py

Original comment by the.good...@gmail.com on 1 Mar 2009 at 3:45