Bump version to 0.10

Moved to lesscpy.__version__ and use it in setup.py. Also, don't put the
whole license text into the 'license' tag but rather the short form
'MIT'. The license file is part of the source distribution already and
was added to package_data (so that it ends up somewhere when 'setup.py
install' is invoked).
This commit is contained in:
Sascha Peilicke 2014-02-02 17:49:48 +01:00
parent 28c31a913f
commit da1b0d2b9d
2 changed files with 7 additions and 4 deletions

View File

@ -0,0 +1,2 @@
__version_info__ = ('0', '10')
__version__ = '.'.join(__version_info__)

View File

@ -6,9 +6,9 @@ import pkg_resources
import codecs
import lesscpy
with codecs.open('LICENSE', encoding='utf-8') as f:
license = f.read()
with codecs.open('README.rst', encoding='utf-8') as f:
long_description = f.read()
@ -23,14 +23,15 @@ with open("test-requirements.txt", "r") as f:
setup(
name='lesscpy',
version='0.9j',
license=license,
version=lesscpy.__version__,
license="MIT",
description='Python LESS compiler',
long_description=long_description,
author='Jóhann T Maríusson',
author_email='jtm@robot.is',
url='https://github.com/robotis/Lesscpy',
packages=find_packages(exclude=['*test*']),
package_data={'': ['LICENSE']},
scripts=['scripts/lesscpy'],
install_requires=install_requires,
tests_require=test_requires,