Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Include Data Files #64

Closed
trent opened this issue Aug 14, 2015 · 3 comments
Closed

Unable to Include Data Files #64

trent opened this issue Aug 14, 2015 · 3 comments

Comments

@trent
Copy link

trent commented Aug 14, 2015

I've added a foo.json file to the root of my scaffold project and updated the [data_files] section to include *.json. When I run python setup.py sdist, foo.json is not included in my package. Am I missing some other setting necessary to include arbitrary files?

@trent
Copy link
Author

trent commented Aug 14, 2015

So, I was able to get this to work if I add a MANIFEST.in that includes foo.json, but this goes against what the setup.cfg says about MANIFEST.in not being needed anymore.

@trent
Copy link
Author

trent commented Aug 14, 2015

I figured it out. You have to have foo.json committed to the repo before creating the distribution.

@trent trent closed this as completed Aug 14, 2015
@FlorianWilhelm
Copy link
Member

@trent Thanks for reporting this anyway, I'll add a few extra lines to the documentation.

FlorianWilhelm added a commit that referenced this issue Jan 1, 2016
…035b38

a035b38 make readme pypi compatible again
7b72db5 prepare 1.10.0 release
cb38b67 whitespace fixes
4c5789a introduce parse_scm_fallback concept and fix parse hooks
d80fde9 coding and documentation style cleanups
c6f4ee6 introduce scm parser overriding fixes #70 and #71
af0095b support enforcing version numbers via the env
b4baef9 Merge pull request #68 from pypa/issue-67
f0d86ef add missing space
ff897ce first attempt at fixing issue #67
2d3b653 minor flake8 cleanup
04d8a87 address #63 - change the tag matching pattern
25b0529 fix issue #63 by passing a match parameter to git describe
9672e57 finish restructuring tests
32f8bca simplify callable_or_entrypoint(group, callable_or_name)
cab8949 remove forgotten tests
b977fe0 extract git tests
937a308 finish extracting mercurial tests into own file
05e4600 simplify data from mime test
5f9dd40 move hg archival test
1227628 Now that /tmp is no longer hard-coded, supply a more interesting root.
5294e37 Extend the extraction of the root assertion so that it's re-used by all test_root functions
20c57ae It seems the cache parameter is unused and needs not be supplied
4283d06 Transfer documentation from docstring to README. Fixes #64.
0ac8221 Added tag v1.9.0 for changeset 1092123ef785
a2fbff3 Add alias for simple distutils-based release.
d3923f6 Add relative_to parameter to get_version. Fixes #44 and fixes #45.
b6320b0 Extract assert_root_tmp fixture
52ecdba Merge pull request #58 from mcmtroffaes/feature/fix-main
6792706 Wrap test_main into a function so travis will pick it up.
644edd2 Fix __main__.py to import from the correct places.
27f0b64 Test 'python -m setuptools_scm' invocation (__main__.py).
81a0e74 Merge pull request #57 from felixonmars/master
9542ba9 Fix small typos in README

git-subtree-dir: pyscaffold/contrib/setuptools_scm
git-subtree-split: a035b38bad6a3505fd2c24306080dc9a6e1dffe3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants