From 53fb70ecb7ecdc1fb303adc648bf865c09f4fe3b Mon Sep 17 00:00:00 2001 From: Rafael Hautekiet Date: Mon, 13 Aug 2018 00:35:41 +0200 Subject: [PATCH] updated package info --- openctm/version.py | 1 + setup.py | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 openctm/version.py diff --git a/openctm/version.py b/openctm/version.py new file mode 100644 index 0000000..7ce86c9 --- /dev/null +++ b/openctm/version.py @@ -0,0 +1 @@ +__version__ = '1.0.4' \ No newline at end of file diff --git a/setup.py b/setup.py index bf29e69..82f0c14 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,22 @@ from setuptools import setup, Extension +import os + +exec(open('openctm/version.py').read()) + +long_description = '' +if os.path.exists('README.md'): + with open('README.md', 'r') as f: + long_description = f.read() setup( name='python-openctm', - version='1.0.3', + version=__version__, description='Python Interface for the OpenCTM File Format', - long_description='Python Interface for the OpenCTM File Format', + long_description=long_description, + long_description_content_type='text/markdown', url='https://github.com/lejafar/python-openctm', author='Rafael Hautekiet', - author_email='rafael.hautekiet@oqton.ai', + author_email='rafaelhautekiet@gmail.com', license='zlib License', ext_modules=[Extension('_foo', ['stub.cc'])], packages=['openctm'], @@ -18,7 +27,7 @@ install_requires=[ 'numpy>=1.14.2', ], - classifiers=( + classifiers=[ "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", @@ -28,5 +37,5 @@ "Topic :: Scientific/Engineering", "License :: OSI Approved :: zlib/libpng License", "Operating System :: OS Independent", - ) + ] )