Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make ID3C an installable package
This will allow us to use setuptools entrypoints as a plugin/extension
mechanism for our Seattle Flu Study customizations in the repo
seattleflu/id3c-customizations.

It also makes the CLI installable so it can run without a dev setup and
knowing the full path.

Dependencies are now specified as package metadata in setup.py and
pipenv locks them through an editable install.

The package adopts calendar versioning (http://calver.org) since ID3C
encompasses a broad collection of things—including API, CLI, and
database schema—which makes it non-trivial to use something like
semantic versioning.
  • Loading branch information
tsibley committed Oct 11, 2019
1 parent e729d17 commit ae5a765
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 127 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
*.pyc
__pycache__/
/.mypy_cache/
/lib/id3c.egg-info/

# Some OS-generated files that should really be in people's global git
# excludes, but which we proactively make sure don't enter the repo here.
Expand Down
11 changes: 1 addition & 10 deletions Pipfile
Expand Up @@ -8,16 +8,7 @@ mypy = "*"
pylint = "*"

[packages]
click = ">=7.0"
colorama = "*"
flask = "*"
psycopg2 = ">=2.8,<3"
requests = "*"
pandas = "*"
xlrd = "*"
pyyaml = "*"
deepdiff = "*"
fiona = "*"
id3c = {editable = true,path = "."}

[requires]
python_version = "3.6"

0 comments on commit ae5a765

Please sign in to comment.