diff --git a/clifford/_version.py b/clifford/_version.py index 8d833eda..f6648303 100644 --- a/clifford/_version.py +++ b/clifford/_version.py @@ -5,4 +5,4 @@ # 1) we don't load dependencies by storing it in __init__.py # 2) we can import it in setup.py for the same reason # 3) we can import it into your module -__version__ = '1.2.0' +__version__ = '1.3.0dev0' diff --git a/setup.py b/setup.py index 4f3b5bb8..b670a4ef 100644 --- a/setup.py +++ b/setup.py @@ -1,21 +1,22 @@ #!/usr/bin/env python from setuptools import setup, find_packages -from distutils.core import Extension -import os +from os import path -version_path = os.path.join('clifford', '_version.py') -exec(open(version_path).read()) +this_directory = path.abspath(path.dirname(__file__)) -LONG_DESCRIPTION = """ -A numerical geometric algebra module for python. BSD License. -""" +with open(path.join(this_directory, 'clifford', '_version.py'), encoding='utf-8') as f: + exec(f.read()) + +with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() setup( name='clifford', version=__version__, license='bsd', description='Numerical Geometric Algebra Module', - long_description=LONG_DESCRIPTION, + long_description=long_description, + long_description_content_type='text/markdown', author='Robert Kern', author_email='alexarsenovic@gmail.com', url='http://clifford.readthedocs.io',