Skip to content

Commit 66e8c30

Browse files
committed
Remove support for unstable
1 parent b189a9c commit 66e8c30

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

setup.py

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import shutil
1212
import sys
1313
import tempfile
14-
import time
1514

1615
from setuptools import Extension, setup
1716

@@ -154,17 +153,6 @@ def version(sass_filename='sass.py'):
154153
return node.value.s
155154

156155

157-
def get_unstable_commit():
158-
try:
159-
with open('.unstable-release') as f:
160-
return f.read().strip() or None
161-
except (IOError, OSError):
162-
return
163-
164-
165-
unstable_commit = get_unstable_commit()
166-
167-
168156
def readme():
169157
try:
170158
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
@@ -202,12 +190,11 @@ def run(self):
202190

203191

204192
setup(
205-
name='libsass' + ('-unstable' if unstable_commit else ''),
193+
name='libsass',
206194
description='SASS for Python: '
207195
'A straightforward binding of libsass for Python.',
208196
long_description=readme(),
209-
version=version() + (time.strftime('.%Y%m%d.') + unstable_commit
210-
if unstable_commit else ''),
197+
version=version(),
211198
ext_modules=[sass_extension],
212199
packages=['sassutils'],
213200
py_modules=['sass', 'sassc', 'sasstests'],

0 commit comments

Comments
 (0)