diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..7de7512b6594ae85512c86546a077ebf705a9387 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# pour Mac +*.DS_Store + +# pour Pycharm, python +.idea +*.pyc +__pycache__ + +venv/ diff --git a/README b/README.md similarity index 100% rename from README rename to README.md diff --git a/dist/mongiris-0.18-py3-none-any.whl b/dist/mongiris-0.18-py3-none-any.whl new file mode 100644 index 0000000000000000000000000000000000000000..c797712395508a97f870ecc8f63fbbc3fe2920f4 Binary files /dev/null and b/dist/mongiris-0.18-py3-none-any.whl differ diff --git a/dist/mongiris-0.18.tar.gz b/dist/mongiris-0.18.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4c77d7141a5e139f0ba45d1fa9a70c61021af715 Binary files /dev/null and b/dist/mongiris-0.18.tar.gz differ diff --git a/pyproject.toml b/pyproject.toml index 1d1b3ffc081031bc296678a050b766a53f60d170..3fb59f8d257c4f7bcd9f4da95c1d1cd18e41826a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,26 @@ +# poetry add package # add a dependency package to be downloaded on remote repo (pipy) +# poetry add mongiris --path ../mongiris/dist/mongiris-0.16-py3-none-any.whl # add local dependency +# poetry build -vv # build source dist (sdist) and python wheel (wheel), option -v verbose +# poetry config repositories.git-mongiris https://gitlab.liris.cnrs.fr/fduchate/mongiris.git # add a private repo +# poetry config http-basic.git-mongiris fduchate # config username/password for local repo +# poetry publish --repository git-mongiris --username fduchate # publish package on private repo +# poetry add mongiris --git https://gitlab.liris.cnrs.fr/fduchate/mongiris.git # add a dependency from a git repo +# poetry install # install dependencies and package ? +# pip install mongiris # install package + [tool.poetry] name = "mongiris" -version = "0.17" +version = "0.18" description = "This package is an interface for querying INSEE IRIS stored as documents in MongoDB. Requires loading the IRIS files into MongoDB prior to using this package." authors = ["Duchateau Fabien <fabien.duchateau@univ-lyon1.fr>"] license = "GPL-3.0" keywords = ["MongoDB", "INSEE", "IRIS"] homepage = "" -repository = "https://gitlab.liris.cnrs.fr/fduchate/mongiris.git" +#repository = "https://gitlab.liris.cnrs.fr/fduchate/mongiris" +readme = 'README.md' -#include = ["vizliris/static/*", "vizliris/templates/*"] # "vizliris/data/*", +#include = ["mongiris/data/*", "vizliris/templates/*"] # "vizliris/data/*", +exclude = ["mongiris/data/*"] # only from home [tool.poetry.dependencies] python = "^3.6"