diff --git a/setup.py b/setup.py index e3df3f18..770c500c 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,6 @@ import shutil import sys import tempfile -import time from setuptools import Extension, setup @@ -154,17 +153,6 @@ def version(sass_filename='sass.py'): return node.value.s -def get_unstable_commit(): - try: - with open('.unstable-release') as f: - return f.read().strip() or None - except (IOError, OSError): - return - - -unstable_commit = get_unstable_commit() - - def readme(): try: with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: @@ -202,12 +190,11 @@ def run(self): setup( - name='libsass' + ('-unstable' if unstable_commit else ''), + name='libsass', description='SASS for Python: ' 'A straightforward binding of libsass for Python.', long_description=readme(), - version=version() + (time.strftime('.%Y%m%d.') + unstable_commit - if unstable_commit else ''), + version=version(), ext_modules=[sass_extension], packages=['sassutils'], py_modules=['sass', 'sassc', 'sasstests'],