diff --git a/.appveyor.yml b/.appveyor.yml index 89b2b297..66e0fefd 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,4 +1,4 @@ -version: 0.3.{build}-{branch} +version: 0.3.1.{build}-{branch} pull_requests: do_not_increment_build_number: true diff --git a/qucumber/__version__.py b/qucumber/__version__.py index 493f7415..260c070a 100644 --- a/qucumber/__version__.py +++ b/qucumber/__version__.py @@ -1 +1 @@ -__version__ = "0.3.0" +__version__ = "0.3.1" diff --git a/setup.py b/setup.py index 6b7f5a41..69b2ecfe 100644 --- a/setup.py +++ b/setup.py @@ -23,9 +23,9 @@ with open("README.md", "r") as fh: long_description = fh.read() -init_file = {} +version_file = {} with open(os.path.join("qucumber", "__version__.py"), "r") as f: - exec(f.read(), init_file) + exec(f.read(), version_file) install_requires = [ "torch>=0.4.1,<0.4.2; sys_platform != 'win32'", @@ -34,6 +34,8 @@ "matplotlib>=2.2", ] +# because RTD runs out of memory when using `pip install -e .[rtd]` to install +# docs dependencies for some reason with open(".build_tools/readthedocs/requirements.txt", "r") as reqs: rtd_requires = [line.strip() for line in reqs.readlines()] @@ -81,7 +83,7 @@ setuptools.setup( name="qucumber", - version=init_file["__version__"], + version=version_file["__version__"], description="Neural Network Quantum State Tomography.", long_description=long_description, long_description_content_type="text/markdown",