From 964db328d65fc9a5e21999f4c06b45288f724c3f Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Wed, 12 Oct 2022 19:30:49 -0400 Subject: [PATCH] Add a manifest so it packages correctly --- .bumpversion.cfg | 2 +- MANIFEST.in | 7 +++++++ README.md | 6 +++--- setup.cfg | 2 +- src/__init__.py | 2 +- 5 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 MANIFEST.in diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 1654b42..d414103 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.6.0.73 +current_version = 0.6.0.74 parse = (?P\d+)\.(?P\d+)\.(?P\d+)\.(?P\d+) serialize = {major}.{minor}.{patch}.{build} diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..cc52068 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,7 @@ +include Makefile +graft src +prune **/.benchmarks +prune **/.vscode +prune **/.github +prune **/.mypy_cache +global-exclude *.pyc .* \ No newline at end of file diff --git a/README.md b/README.md index 0e22dc1..8f23dae 100644 --- a/README.md +++ b/README.md @@ -77,11 +77,11 @@ Every time you run `example.py`, it goes through the following steps: - [ ] disable warning about default explain_specific if classvar acknowledges default behavior as intended - [ ] Make comparison rules (>, <, etc) - [ ] test GitHub rules using real examples -- [ ] test register_db -- [ ] test ManifoldMarketMixin +- [x] test register_db +- [x] test ManifoldMarketMixin (done implicitly via the Other rules) - [x] test manifold user rules using real examples - [x] test manifold this rules using real examples -- [ ] test manifold other rules using real examples +- [x] test manifold other rules using real examples - [ ] test market.py (1/8) - [x] from_url - [ ] explain_abstract diff --git a/setup.cfg b/setup.cfg index cef3944..9bc294a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,7 +2,7 @@ name = ManifoldMarketManager author = Olivia Appleton author_email = Liv@OliviaAppleton.com -version = 0.6.0.73 +version = 0.6.0.74 description = Tools and market management for manifold.markets long_description = file: README.md long_description_content_type = text/markdown diff --git a/src/__init__.py b/src/__init__.py index deca474..9a25bbd 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -145,7 +145,7 @@ register_converter("Rule", loads) register_adapter(market.Market, dumps) register_converter("Market", loads) -VERSION = "0.6.0.73" +VERSION = "0.6.0.74" __version_info__ = tuple(int(x) for x in VERSION.split('.')) __all__ = [ "__version_info__", "VERSION", "DoResolveRule", "ResolutionValueRule", "Rule", "Market", "get_client", "rule",