Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import shutil
import sys
import tempfile
import time

from setuptools import Extension, setup

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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'],
Expand Down