Skip to content

Commit

Permalink
Update setup to include .cfg files
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Brandt committed Mar 9, 2018
1 parent 9b47f9a commit 2e08c55
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/_version.py export-subst
dockeri/_version.py export-subst
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include versioneer.py
include src/_version.py
include dockeri/_version.py
2 changes: 1 addition & 1 deletion dockeri/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_config():
cfg.style = "pep440"
cfg.tag_prefix = ""
cfg.parentdir_prefix = ""
cfg.versionfile_source = "src/_version.py"
cfg.versionfile_source = "dockeri/_version.py"
cfg.verbose = False
return cfg

Expand Down
3 changes: 0 additions & 3 deletions dockeri/conf.d/asdcbibtool.cfg

This file was deleted.

4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versioneer]
VCS = git
style = pep440
versionfile_source = src/_version.py
versionfile_build = src/_version.py
versionfile_source = dockeri/_version.py
versionfile_build = dockeri/_version.py
tag_prefix =
parentdir_prefix =
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
cmdclass=versioneer.get_cmdclass(),
description=DESCRIPTION,
packages=find_packages(),
package_data={'':['conf.d/*.cfg']},
scripts=scripts,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
Expand Down

0 comments on commit 2e08c55

Please sign in to comment.