Skip to content

Commit

Permalink
Install data files in a "share/" sub-directory instead of everything …
Browse files Browse the repository at this point in the history
…in the egg

Previously, all data in `data_files` and `package_data` were installed along the Python's
code, which might not be actually wanted (that's true at least for man pages for
examples).
This tentatively fixes #5 ("Installer puts $installdir/share stuff in wrong place").

Following an answer from PJ Eby at http://mail.python.org/pipermail/distutils-sig/2011-December/018218.html
  • Loading branch information
multani committed Jan 1, 2012
1 parent 1780e78 commit 0df7981
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -6,3 +6,6 @@ mo/
tags
TAGS
cscope*
RECORD
*.egg-info/
build/
3 changes: 3 additions & 0 deletions setup.cfg
@@ -0,0 +1,3 @@
[install]
single_version_externally_managed = 1
record = RECORD

0 comments on commit 0df7981

Please sign in to comment.