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:
parent
28c31a913f
commit
da1b0d2b9d
|
@ -0,0 +1,2 @@
|
|||
__version_info__ = ('0', '10')
|
||||
__version__ = '.'.join(__version_info__)
|
9
setup.py
9
setup.py
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue