Skip to content

Commit

Permalink
setuptools cannot install data_files
Browse files Browse the repository at this point in the history
devs refuse to fix bug

pypa/setuptools#130
  • Loading branch information
esheldon committed May 13, 2019
1 parent f9cb15a commit ff05f3a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,12 @@
with open(pth, 'r') as fp:
exec(fp.read())

ofiles = glob('data/*')
data_files = []
for f in ofiles:
if '~' not in f:
data_files.append(('share/pizza-cutter', [f]))


setup(
name='pizza_cutter',
version=__version__,
description="yummy survey slices",
author="MRB and ESS",
packages=find_packages(),
include_package_data=True,
data_files=data_files,
scripts=scripts,
)

0 comments on commit ff05f3a

Please sign in to comment.