summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeGUDHIVersion.txt2
-rw-r--r--src/python/setup.py.in6
2 files changed, 3 insertions, 5 deletions
diff --git a/CMakeGUDHIVersion.txt b/CMakeGUDHIVersion.txt
index ffcbc53e..95e67372 100644
--- a/CMakeGUDHIVersion.txt
+++ b/CMakeGUDHIVersion.txt
@@ -1,6 +1,6 @@
set (GUDHI_MAJOR_VERSION 3)
set (GUDHI_MINOR_VERSION 2)
-set (GUDHI_PATCH_VERSION 0a6)
+set (GUDHI_PATCH_VERSION 0a7)
set(GUDHI_VERSION ${GUDHI_MAJOR_VERSION}.${GUDHI_MINOR_VERSION}.${GUDHI_PATCH_VERSION})
message(STATUS "GUDHI version : ${GUDHI_VERSION}")
diff --git a/src/python/setup.py.in b/src/python/setup.py.in
index f8eeafc4..dc163a37 100644
--- a/src/python/setup.py.in
+++ b/src/python/setup.py.in
@@ -13,7 +13,6 @@ from Cython.Build import cythonize
from numpy import get_include as numpy_get_include
import sys
import pybind11
-from os import path
__author__ = "Vincent Rouvreau"
__copyright__ = "Copyright (C) 2016 Inria"
@@ -64,9 +63,8 @@ for module in pybind11_modules:
))
# read the contents of introduction.rst
-this_directory = path.abspath(path.dirname(__file__))
-with open(path.join(this_directory, 'introduction.rst'), encoding='utf-8') as f:
- long_description = f.read()
+with open("introduction.rst", "r") as fh:
+ long_description = fh.read()
setup(
name = 'gudhi',