-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from smart-on-fhir/mikix/re-org
Reorganize a little bit: add ./docs, ./demos, and MAINTAINERS.md
- Loading branch information
Showing
9 changed files
with
63 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Maintainer Notes | ||
|
||
## Building Distribution | ||
|
||
pip install -U build | ||
python3 -m build | ||
|
||
### Incrementing the lib version | ||
|
||
- Edit `fhirclient/client.py` and change the `__version__` field. | ||
- Edit `docs/Doxyfile` and change the `PROJECT_NUMBER` field. | ||
|
||
## Docs Generation | ||
|
||
Docs are generated with [Doxygen](https://www.doxygen.nl/) | ||
and [doxypypy](https://github.com/Feneric/doxypypy). | ||
You can install doxypypy via pip: `pip install doxypypy`. | ||
Then you can just run Doxygen. Configuration is stored in `docs/Doxyfile`. | ||
|
||
Running Doxygen will put the generated HTML documentation into `docs/html`. | ||
Those files make up the content of the `gh-pages` branch. | ||
I usually perform a second checkout of the _gh-pages_ branch and copy the HTML files over, with: | ||
|
||
doxygen docs/Doxyfile | ||
rsync -a docs/html/ ../client-py-web/ | ||
|
||
## PyPi Publishing (notes for SMART team) | ||
|
||
Using flit (*Note*: Alternatively, you can use [twine](https://twine.readthedocs.io/)): | ||
|
||
### Make sure that you have the PyPi account credentials in your account | ||
|
||
copy server.smarthealthit.org:/home/fhir/.pypirc to ~/.pypirc | ||
|
||
### Test the build | ||
|
||
python3 -m build | ||
|
||
### Upload the packages to PyPi | ||
|
||
pip install -U flit | ||
flit publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
#!/usr/bin/env python3 | ||
|
||
import logging | ||
from fhirclient import client | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
beaker>=1.13.0 | ||
fhirclient>=4 | ||
flask>=2.3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.