Need help with python noarch package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx",
      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

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux