Skip to content

Commit 3e4c44b

Browse files
committed
Merge pull request #133 from asottile/remove_unstable
Remove support for unstable
2 parents c4a4f5b + 66e8c30 commit 3e4c44b

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

@@ -156,17 +155,6 @@ def version(sass_filename='sass.py'):
156155
return node.value.s
157156

158157

159-
def get_unstable_commit():
160-
try:
161-
with open('.unstable-release') as f:
162-
return f.read().strip() or None
163-
except (IOError, OSError):
164-
return
165-
166-
167-
unstable_commit = get_unstable_commit()
168-
169-
170158
def readme():
171159
try:
172160
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
@@ -204,12 +192,11 @@ def run(self):
204192

205193

206194
setup(
207-
name='libsass' + ('-unstable' if unstable_commit else ''),
195+
name='libsass',
208196
description='SASS for Python: '
209197
'A straightforward binding of libsass for Python.',
210198
long_description=readme(),
211-
version=version() + (time.strftime('.%Y%m%d.') + unstable_commit
212-
if unstable_commit else ''),
199+
version=version(),
213200
ext_modules=[sass_extension],
214201
packages=['sassutils'],
215202
py_modules=['sass', 'sassc', 'sasstests'],

0 commit comments

Comments
 (0)