Skip to content

Commit

Permalink
Merge pull request #268 from eric-wieser/pypi-better-readme
Browse files Browse the repository at this point in the history
Use the full readme on PyPI
  • Loading branch information
eric-wieser authored Mar 6, 2020
2 parents b228bf8 + 6456cfa commit 82c871e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion clifford/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
17 changes: 9 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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='[email protected]',
url='http://clifford.readthedocs.io',
Expand Down

0 comments on commit 82c871e

Please sign in to comment.