From 9dd23949737e98ac82b2ae201ac9c1485a4461ec Mon Sep 17 00:00:00 2001 From: aldraco Date: Wed, 4 Oct 2017 14:05:25 -0400 Subject: [PATCH] Fix missing dependency list for setup.py; add console script for schema inspection --- README.rst | 1 + setup.py | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index ad389a0..891002a 100644 --- a/README.rst +++ b/README.rst @@ -51,6 +51,7 @@ If you have the project installed with `pip`, you can use the following console * ``parsely_bigquery`` = ``parsely_raw_data.bigquery`` * ``parsely_s3`` = ``parsely_raw_data.s3`` * ``parsely_stream`` = ``parsely_raw_data.stream`` +* ``parsely_schema`` = ``parsely_raw_data.docgen`` Alternately, you can clone the repo, and run each module from within the repo directory, like this: diff --git a/setup.py b/setup.py index 3df5eee..9777ede 100644 --- a/setup.py +++ b/setup.py @@ -29,10 +29,6 @@ def get_version(): return re.search(r"""__version__\s+=\s+(['"])(?P.+?)\1""", version_file.read()).group('version') -install_requires = [ - 'six', -] - lint_requires = [ 'pep8', 'pyflakes' @@ -47,6 +43,10 @@ def read_lines(fname): x.strip() for x in read_lines('test-requirements.txt') if not x.startswith('-') ] +install_requires = [ + x.strip() for x in read_lines('requirements.txt') if not x.startswith('-') +] + dependency_links = [] setup_requires = [] @@ -90,9 +90,10 @@ def run_setup(): 'parsely_redshift = parsely_raw_data.redshift:main', 'parsely_s3 = parsely_raw_data.s3:main', 'parsely_stream = parsely_raw_data.stream:main', + 'parsely_schema = parsely_raw_data.docgen:main' ] }, - install_requires=[], + install_requires=install_requires, tests_require=tests_require, setup_requires=setup_requires, extras_require={