diff options
author | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2016-12-02 15:46:55 +0100 |
---|---|---|
committer | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2016-12-02 15:50:34 +0100 |
commit | fb1bf920a07c44dd6f887be94f40ab051d9ff07b (patch) | |
tree | 26f1de0a464ef16722b412696800e01a368d4165 /setup.py | |
parent | 29b31a2368e5b98f432a0f2cb34984fff3a67ae5 (diff) |
updated the setup configuration
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 57 |
1 files changed, 49 insertions, 8 deletions
@@ -1,21 +1,62 @@ from setuptools import setup +from codecs import open +from os import path + +here = path.abspath(path.dirname(__file__)) + +# Get the long description from the README file + +long_description = '' + +try: + import pypandoc + long_description = pypandoc.convert('README.md', 'rst') +except (IOError, ImportError): + with open(path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + setup( name='qface', - version='1.0', - py_modules=['qface'], + version='1.0.0a3', + description='QFace - A Generator Framework', + long_description=long_description, + url='https://github.com/Pelagicore/qface', + author='JRyannel', + license='GPLV3', + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'Topic :: Software Development :: Code Generators', + 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + ], + keywords='qt code generator framework', + packages=['qface'], install_requires=[ - 'antlr4-python3-runtime', 'jinja2', - 'click', 'path.py', - 'watchdog', 'pyyaml', - 'pytest', - 'ipdb' ], + extras_require={ + 'dev': [ + 'antlr4-python3-runtime', + 'click', + 'watchdog', + 'pypandoc', + ], + 'test': [ + 'pytest', + 'click', + 'watchdog', + 'ipdb', + ], + }, entry_points=''' [console_scripts] qface=cli:cli - ''', + ''' ) |