From 288833351422b827c94448ab1f398661aa6bf26b Mon Sep 17 00:00:00 2001 From: William Luke Date: Thu, 3 Feb 2022 15:12:20 +0300 Subject: [PATCH] chore: add publishing script --- cic_utils/__init__.py | 0 publish.sh | 3 +++ setup.cfg | 8 +++++--- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 cic_utils/__init__.py create mode 100644 publish.sh diff --git a/cic_utils/__init__.py b/cic_utils/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/publish.sh b/publish.sh new file mode 100644 index 0000000..4f30f4a --- /dev/null +++ b/publish.sh @@ -0,0 +1,3 @@ +python setup.py sdist +bash ./tests/run_tests.sh +rsync -r ./dist/ root@root.grassrootseconomics.net:/usr/local/share/python/packages/cic-utils/ \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 95e4dea..bd1928a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = cic_utils -version = 0.2.0 +version = 0.1.0 description = Common utils for CIC author = William Luke author_email = william@atto-byte.com @@ -18,5 +18,7 @@ licence_files = [options] python_requires = >= 3.6 -packages = - cic-utils.converters +packages = find: + +[options.packages.find] +exclude = tests \ No newline at end of file