RE: "How to package additional files under site-packages "

2019-03-07 Thread Saba Kauser
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

Re: "How to package additional files under site-packages "

2019-03-05 Thread dieter
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

RE: "How to package additional files under site-packages "

2019-03-05 Thread Saba Kauser
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

Re: "How to package additional files under site-packages "

2019-03-04 Thread dieter
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