[go: up one dir, main page]

Skip to content

Commit

Permalink
Fix missing template files, autogen MANIFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanstraten committed Sep 6, 2019
1 parent 33baa91 commit 0ef939d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ nosetests.xml
*.cf
*.gen.*
.noseids
/MANIFEST.in
7 changes: 0 additions & 7 deletions MANIFEST.in

This file was deleted.

4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ def run(self):
with open(version_fname, 'w') as fildes:
fildes.write('__version__ = """' + self.distribution.metadata.version + '"""\n')

with open('MANIFEST.in', 'w') as fil:
for filename in glob.glob('vhdmmio/**/*.template.*', recursive=True):
fil.write('include %s\n' % filename)

setup(
name = 'vhdmmio',
version_config={
Expand Down

0 comments on commit 0ef939d

Please sign in to comment.