Skip to content
Snippets Groups Projects
Commit c6266484 authored by Stefano Borini's avatar Stefano Borini Committed by GitHub
Browse files

Merge pull request #58 from force-h2020/dev-2

Release 0.1.0.dev2
parents 19668614 4f0aec5c
No related branches found
No related tags found
No related merge requests found
...@@ -2,4 +2,4 @@ __pycache__ ...@@ -2,4 +2,4 @@ __pycache__
*.egg-info *.egg-info
doc/build/ doc/build/
*.pyc *.pyc
force_bdss/__version__.py
...@@ -9,7 +9,9 @@ import os ...@@ -9,7 +9,9 @@ import os
sys.path.insert(0, os.path.join( sys.path.insert(0, os.path.join(
os.path.dirname(os.path.abspath(__file__)), "..", "..") os.path.dirname(os.path.abspath(__file__)), "..", "..")
) )
print(sys.path)
from force_bdss.__version__ import VERSION as RELEASE
MOCK_MODULES=[] MOCK_MODULES=[]
def _warn_node(self, msg, node, **kwargs): def _warn_node(self, msg, node, **kwargs):
...@@ -58,8 +60,8 @@ source_suffix = '.rst' ...@@ -58,8 +60,8 @@ source_suffix = '.rst'
master_doc = 'index' master_doc = 'index'
project = u'FORCE' project = u'FORCE'
copyright = u'2017, FORCE Project' copyright = u'2017, FORCE Project'
version = '0.1.0' version = ".".join(RELEASE.split(".")[0:3])
release = '0.1.0.dev0' release = RELEASE
pygments_style = 'sphinx' pygments_style = 'sphinx'
html_theme = 'classic' html_theme = 'classic'
html_static_path = ['_static'] html_static_path = ['_static']
......
from setuptools import setup, find_packages from setuptools import setup, find_packages
VERSION = "0.1.0.dev1" VERSION = "0.1.0.dev2"
def write_version_py():
with open("force_bdss/__version__.py", "w") as f:
f.write("VERSION = '{}'\n".format(VERSION))
write_version_py()
setup( setup(
name="force_bdss", name="force_bdss",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment