On 06/26/2013 01:21 PM, Erik Bray wrote:
On Sun, Jun 16, 2013 at 3:13 AM, Ethan Furman <et...@stoneleaf.us> wrote:
Here's my file layout:

<root> /
        |- setup.py
        |
        |- enum /
                |- __init__.py
                |
                |- py2_enum.py
                |
                |- py3_enum.py
                |
                |- test /
                        |- test_enum.py
                        |
                        |- py2_test_enum.py
                        |
                        |- py3_test_enum.py

That's odd.  I work on a package that ships Python 2 and Python 3
versions of some modules and I have never seen this problem before.
Perhaps you could post your setup.py?

--8< -- setup.py 
-----------------------------------------------------------------
from distutils.core import setup

long_desc = open('enum/enum.rst').read()

setup( name='enum34',
       version='0.9',
       url='https://pypi.python.org/pypi/enum34',
       packages=['enum'],
       package_data={
              'enum':[
                     'enum.rst',
                     'enum.pdf',
                     'test/test_enum.py',
                     'test/py2_test_enum.py',
                     'test/py3_test_enum.py',
                     ],
               },
       license='BSD License',
       description='Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, 
and 2.4',
       long_description=long_desc,
       provides=['enum'],
       author='Ethan Furman',
       author_email='et...@stoneleaf.us',
       classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: BSD License',
            'Programming Language :: Python',
            'Topic :: Software Development' ],
     )
--8< -- setup.py 
-----------------------------------------------------------------

--
~Ethan~
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to