Skip to content

Commit

Permalink
Merge pull request #4 from wri/feature/install_subpackages
Browse files Browse the repository at this point in the history
Feature/install subpackages
  • Loading branch information
Thomas Maschler committed Jul 15, 2019
2 parents 350373b + e8d4d04 commit 4c318d8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
exclude: '^$'
fail_fast: false
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.6

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: trailing-whitespace
- id: flake8
args: ['--ignore=E203, E266, E501, W503, F403, F401']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.650
hooks:
- id: mypy
19 changes: 14 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from setuptools import setup
from setuptools import setup, find_packages

with open("README.md", "r") as fh:
long_description = fh.read()
Expand All @@ -12,16 +12,25 @@
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/wri/spotutil",
packages=["spotutil"],
install_requires=["click", "boto", "boto3", "prettytable", "urllib3==1.23", "pytz", "retrying", "requests"],
packages=find_packages(),
install_requires=[
"click",
"botocore",
"boto3",
"prettytable",
"urllib3<1.25,>=1.24.2",
"pytz",
"retrying",
"requests",
],
classifiers=(
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
entry_points='''
entry_points="""
[console_scripts]
spotutil=spotutil.spotutil:spotutil
''',
""",
)

0 comments on commit 4c318d8

Please sign in to comment.