From 8a3cb81a8ab79de9ebcd6e36b6298e6ab1a9cae5 Mon Sep 17 00:00:00 2001 From: Jerome Kelleher Date: Sun, 6 May 2018 16:40:07 +0100 Subject: [PATCH] Final changes for 0.1.0 release. Removed setuptools_scm as the non standard directory layout was causing problems. Some other strategy will likely be required for versioning in any case for the C API, so it's probably not appropriate here. --- python/MANIFEST.in | 1 + python/README.rst | 3 +++ python/kastore/__init__.py | 7 +------ python/setup.py | 6 ++---- 4 files changed, 7 insertions(+), 10 deletions(-) create mode 100644 python/MANIFEST.in diff --git a/python/MANIFEST.in b/python/MANIFEST.in new file mode 100644 index 0000000..3c8450e --- /dev/null +++ b/python/MANIFEST.in @@ -0,0 +1 @@ +include lib/kastore.h diff --git a/python/README.rst b/python/README.rst index a1d57ee..b3c5f0f 100644 --- a/python/README.rst +++ b/python/README.rst @@ -2,3 +2,6 @@ kastore ======= A simple write-once-read-many store for numerical data. + +This package is under active development, and is not recommended for +general use. diff --git a/python/kastore/__init__.py b/python/kastore/__init__.py index 33167f4..bd0025f 100644 --- a/python/kastore/__init__.py +++ b/python/kastore/__init__.py @@ -1,12 +1,7 @@ from __future__ import print_function from __future__ import division -__version__ = "undefined" -try: - from . import _version - __version__ = _version.version -except ImportError: - pass +__version__ = "0.1.0" from . import store from . exceptions import FileFormatError diff --git a/python/setup.py b/python/setup.py index 611d7c4..dccfc6a 100644 --- a/python/setup.py +++ b/python/setup.py @@ -40,6 +40,7 @@ def finalize_options(self): long_description=long_description, url='https://github.com/tskit-dev/kastore', author='tskit developers', + version='0.1.0', # TODO setup a tskit developers email address. author_email='jerome.kelleher@well.ox.ac.uk', classifiers=[ @@ -67,8 +68,5 @@ def finalize_options(self): 'Bug Reports': 'https://github.com/tskit-dev/kastore/issues', 'Source': 'https://github.com/tskit-dev/kastore', }, - setup_requires=['numpy', 'setuptools_scm'], - use_scm_version={ - "root": "..", "relative_to": __file__, - "write_to": "python/kastore/_version.py"}, + setup_requires=['numpy'], )