0

My module in python requires 2-3 txt files. Unfortunately setup.py does not seem to be generating non-python files in the egg folder.

I tried this solution found online:

# setup.py

from setuptools import setup

setup(

    ...
    package_data={'': ['folder1/folder2/links.txt']},

}

But it promptly does not work. links.txt is nowhere to be found in the egg folder.

Any clues?

Thank you.

Lucas Ou-Yang
  • 5,505
  • 13
  • 43
  • 62

0 Answers0