Thank you!
I used get_python_lib() for directory in data_files, and it seem to have worked.
Thanks for your assistance!
-Original Message-
From: dieter
Sent: Wednesday, March 6, 2019 12:15 PM
To: python-list@python.org
Subject: Re: "How to package additional files under site-pac
Saba Kauser writes:
> ...
> My package (ibm_db) has LICENSE, README.md and CHANGES files that I want to
> be available in the same location as my package is installed I.e under
> site-packages. However, with current setup.py
> https://github.com/ibmdb/python-ibmdb/blob/master/IBM_DB/ibm_db/setu
on of my
package.
Is there any other way I can achieve this?
Thanks!
-Original Message-
From: dieter
Sent: Tuesday, March 5, 2019 12:04 PM
To: python-list@python.org
Subject: Re: "How to package additional files under site-packages "
Saba Kauser writes:
> ...
> I want da
Saba Kauser writes:
> ...
> I want data_files to be copied under my package install path.
> How do I achieve this?
You could look at one of my packages (i.e. "dm.*", e.g. "dm.pdb").
Essentially, I have the data files besides the Python sources
and let "setuptools" determine the relevant files
(s
Hello,
I have a setup.py that has this:
package_data = { 'tests': [ '*.png', '*.jpg']}
data_files = [ ('', ['./README.md']),
('', ['./CHANGES']),
('', ['./LICENSE']) ]
setup( name= PACKAGE,
version = VERSION,
.
.
packages = find_packages(),