File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 11
11
import shutil
12
12
import sys
13
13
import tempfile
14
- import time
15
14
16
15
from setuptools import Extension , setup
17
16
@@ -156,17 +155,6 @@ def version(sass_filename='sass.py'):
156
155
return node .value .s
157
156
158
157
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
-
170
158
def readme ():
171
159
try :
172
160
with open (os .path .join (os .path .dirname (__file__ ), 'README.rst' )) as f :
@@ -204,12 +192,11 @@ def run(self):
204
192
205
193
206
194
setup (
207
- name = 'libsass' + ( '-unstable' if unstable_commit else '' ) ,
195
+ name = 'libsass' ,
208
196
description = 'SASS for Python: '
209
197
'A straightforward binding of libsass for Python.' ,
210
198
long_description = readme (),
211
- version = version () + (time .strftime ('.%Y%m%d.' ) + unstable_commit
212
- if unstable_commit else '' ),
199
+ version = version (),
213
200
ext_modules = [sass_extension ],
214
201
packages = ['sassutils' ],
215
202
py_modules = ['sass' , 'sassc' , 'sasstests' ],
You can’t perform that action at this time.
0 commit comments