Skip to content

Commit

Permalink
Merge pull request #23 from Parsely/fix/misc
Browse files Browse the repository at this point in the history
Fix missing dependency list for setup.py; add console script for sche…
  • Loading branch information
aldraco committed Oct 4, 2017
2 parents 6b0441f + 9dd2394 commit da8556f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
boto3==1.2.3
google-api-python-client
psycopg2
psycopg2cffi-compat
six
tablib
xlsxwriter
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ def get_version():
return re.search(r"""__version__\s+=\s+(['"])(?P<version>.+?)\1""",
version_file.read()).group('version')

install_requires = [
'six',
]

lint_requires = [
'pep8',
'pyflakes'
Expand All @@ -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 = []

Expand Down Expand Up @@ -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={
Expand Down

0 comments on commit da8556f

Please sign in to comment.