Need help with python noarch package

Orion Poplawski orion at cora.nwra.com
Tue Jul 25 17:20:03 UTC 2006


I have a noarch python package (python-dateutil) that doesn't build 
properly on x86_64.  The setup is:

PYTHONLIB = join(get_python_lib(standard_lib=1, prefix=''), 'site-packages')
ZONEINFO = join("dateutil", "zoneinfo")

setup(name="python-dateutil",
       version = "1.1",
       description = "Extensions to the standard python 2.3+ datetime 
module",
       author = "Gustavo Niemeyer",
       author_email = "gustavo at niemeyer.net",
       url = "http://labix.org/python-dateutil",
       license = "PSF License",
       long_description =
"""\
The dateutil module provides powerful extensions to the standard
datetime module, available in Python 2.3+.
""",
       packages = ["dateutil", "dateutil.zoneinfo"],
       data_files = [(join(PYTHONLIB, ZONEINFO),
                      glob.glob(join(ZONEINFO, "zoneinfo*.tar.*")))],
       )


but the files specified in data_files (zoneinfo-2005q.tar.gz) end up 
going into /usr/lib64/python2.4/site-packages/... rather than 
/usr/lib/python2.4/...

Is this expected?  The rest of the package gets installed in /usr/lib. 
What should be used to get the data file installed in /usr/lib as well?

Thanks!



-- 
Orion Poplawski
System Administrator                   303-415-9701 x222
Colorado Research Associates/NWRA      FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301   http://www.co-ra.com




More information about the fedora-extras-list mailing list