Back to development: 2.0.0
This commit is contained in:
parent
fa4e73fe5b
commit
313c0e02b8
|
@ -2,6 +2,12 @@ CHANGELOG
|
|||
---------
|
||||
|
||||
|
||||
2.0.0 (unreleased)
|
||||
==================
|
||||
|
||||
- Nothing changed yet.
|
||||
|
||||
|
||||
1.0.0 - 2014-02-11
|
||||
==================
|
||||
|
||||
|
|
15
setup.py
15
setup.py
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
from setuptools import setup, find_packages
|
||||
import subprocess
|
||||
import os
|
||||
|
||||
__doc__ = "Makes it easier to use PySCSS in Django."
|
||||
|
@ -21,22 +20,12 @@ tests_require = [
|
|||
]
|
||||
|
||||
|
||||
version = (1, 1, 0, 'alpha')
|
||||
version = '2.0.0.dev0'
|
||||
|
||||
|
||||
def get_version():
|
||||
number = '.'.join(map(str, version[:3]))
|
||||
stage = version[3]
|
||||
if stage == 'final':
|
||||
return number
|
||||
elif stage == 'alpha':
|
||||
process = subprocess.Popen('git rev-parse HEAD'.split(), stdout=subprocess.PIPE)
|
||||
stdout, stderr = process.communicate()
|
||||
return number + '-' + stdout.strip()[:8]
|
||||
|
||||
setup(
|
||||
name='django-pyscss',
|
||||
version=get_version(),
|
||||
version=version,
|
||||
author="Fusionbox, Inc.",
|
||||
author_email="programmers@fusionbox.com",
|
||||
url="https://github.com/fusionbox/django-pyscss",
|
||||
|
|
Loading…
Reference in New Issue