Skip to content

Commit

Permalink
setup.py: don't be stupid with datafiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Technologicat committed Nov 21, 2019
1 parent fd6fb75 commit 434256b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,11 @@ def my_yield(value, cc):
packages=["unpythonic", "unpythonic.syntax"],
scripts=["macropy3"],

zip_safe=False, # macros are not zip safe, because the zip importer fails to find sources, and MacroPy needs them.
zip_safe=False # macros are not zip safe, because the zip importer fails to find sources, and MacroPy needs them.

# Custom data files not inside a Python package
data_files=datafiles
# TODO: bad idea, let's not do that. See notes in
# https://github.com/Technologicat/setup-template-cython
# for a proper solution.
#data_files=datafiles
)

0 comments on commit 434256b

Please sign in to comment.