From 9834873be4ae7bb3a0eab0618206b051a4110143 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 8 Mar 2016 14:48:29 -0500 Subject: [PATCH 1/3] add data files to manifest.in --- MANIFEST | 34 ---------------------------------- MANIFEST.in | 1 + gitenberg/__init__.py | 2 +- 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 MANIFEST diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index f9e9cd1..0000000 --- a/MANIFEST +++ /dev/null @@ -1,34 +0,0 @@ -# file GENERATED by distutils, do NOT edit -CONTRIBUTING.rst -README.rst -gitbook -requirements.pip -setup.py -gitenberg/.book.py.swp -gitenberg/.fetch.py.swp -gitenberg/.get.py.swp -gitenberg/.test.py.swp -gitenberg/__init__.py -gitenberg/__init__.pyc -gitenberg/book.py -gitenberg/book.pyc -gitenberg/fetch.py -gitenberg/fetch.pyc -gitenberg/loop.py -gitenberg/make.py -gitenberg/make.pyc -gitenberg/push.py -gitenberg/push.pyc -gitenberg/secrets.py -gitenberg/secrets.pyc -gitenberg/test.py -gitenberg/__pycache__/test.cpython-27-PYTEST.pyc -gitenberg/templates/CONTRIBUTING.rst -gitenberg/templates/LICENSE -gitenberg/templates/README.rst.j2 -gitenberg/util/__init__.py -gitenberg/util/__init__.pyc -gitenberg/util/catalog.py -gitenberg/util/catalog.pyc -gitenberg/util/filetypes.py -gitenberg/util/filetypes.pyc diff --git a/MANIFEST.in b/MANIFEST.in index 0973200..259020f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ include README.md LICENSE CONTRIBUTING.rst bin requirements.pip HISTORY.rst recursive-include gitenberg * +include assets/GITenberg_repo_list.tsv assets/missing.tsv assets/gutenberg_descriptions.json \ No newline at end of file diff --git a/gitenberg/__init__.py b/gitenberg/__init__.py index 28c0106..4a8e315 100644 --- a/gitenberg/__init__.py +++ b/gitenberg/__init__.py @@ -11,6 +11,6 @@ __title__ = 'gitberg' __appname__ = 'gitberg' -__version__ = '0.2.0' +__version__ = '0.2.1' __copyright__ = 'Copyright 2012-2016 Seth Woodworth and the Free Ebook Foundation' From e26744b3ed04db65ed78c3a2eb062cd3d941f704 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 8 Mar 2016 15:17:35 -0500 Subject: [PATCH 2/3] how to get data files unloaded? --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a415958..f9cd6ca 100755 --- a/setup.py +++ b/setup.py @@ -48,7 +48,12 @@ 'rdflib==4.2.0', 'rdflib-jsonld==0.3', ], - + data_files=[('gitenberg/assets', ['assets/GITenberg_repo_list.tsv', + 'assets/GITenberg_repo_list.tsv', + 'assets/GITenberg_repo_list.tsv', + ] + ), + ] test_suite='nose.collector', tests_require=['nose'], classifiers=[ From 73a1d5adf5d7913219a0ed29a975cb8dc9cdac02 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 8 Mar 2016 15:19:11 -0500 Subject: [PATCH 3/3] fix syntax --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f9cd6ca..fe21984 100755 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ 'assets/GITenberg_repo_list.tsv', ] ), - ] + ], test_suite='nose.collector', tests_require=['nose'], classifiers=[