Skip to content

Fix windows wheels. Resolves #28. Resolves #49 #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2015
Merged

Fix windows wheels. Resolves #28. Resolves #49 #105

merged 1 commit into from
Dec 3, 2015

Conversation

asottile
Copy link
Member

@asottile asottile commented Dec 3, 2015

@asottile
Copy link
Member Author

asottile commented Dec 3, 2015

Seems fixed, I'll release a new version with this fix:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\IEUser>virtualenv venv
New python executable in venv\Scripts\python.exe
Installing setuptools, pip, wheel...done.

C:\Users\IEUser>venv\Scripts\activate
(venv) C:\Users\IEUser>pip install libsass
Collecting libsass
  Downloading libsass-0.9.2-cp27-none-win32.whl (400kB)
    100% |################################| 401kB 1.3MB/s
Collecting six (from libsass)
  Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six, libsass
Successfully installed libsass-0.9.2 six-1.10.0

(venv) C:\Users\IEUser>python
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import libsass
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named libsass
>>> import sass
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\IEUser\venv\lib\site-packages\sass.py", line 26, in <module>
    from _sass import OUTPUT_STYLES, compile_filename, compile_string
ImportError: DLL load failed: The specified module could not be found.
>>> exit()

(venv) C:\Users\IEUser>pip uninstall libsass
Uninstalling libsass-0.9.2:
  c:\users\ieuser\venv\lib\site-packages\_sass.pyd
  c:\users\ieuser\venv\lib\site-packages\libsass-0.9.2.dist-info\description.rst
  c:\users\ieuser\venv\lib\site-packages\libsass-0.9.2.dist-info\entry_points.txt
  c:\users\ieuser\venv\lib\site-packages\libsass-0.9.2.dist-info\metadata
  c:\users\ieuser\venv\lib\site-packages\libsass-0.9.2.dist-info\metadata.json
  c:\users\ieuser\venv\lib\site-packages\libsass-0.9.2.dist-info\record
  c:\users\ieuser\venv\lib\site-packages\libsass-0.9.2.dist-info\top_level.txt
  c:\users\ieuser\venv\lib\site-packages\libsass-0.9.2.dist-info\wheel
  c:\users\ieuser\venv\lib\site-packages\sass.py
  c:\users\ieuser\venv\lib\site-packages\sass.pyc
  c:\users\ieuser\venv\lib\site-packages\sassc.py
  c:\users\ieuser\venv\lib\site-packages\sassc.pyc
  c:\users\ieuser\venv\lib\site-packages\sasstests.py
  c:\users\ieuser\venv\lib\site-packages\sasstests.pyc
  c:\users\ieuser\venv\lib\site-packages\sassutils\__init__.py
  c:\users\ieuser\venv\lib\site-packages\sassutils\__init__.pyc
  c:\users\ieuser\venv\lib\site-packages\sassutils\builder.py
  c:\users\ieuser\venv\lib\site-packages\sassutils\builder.pyc
  c:\users\ieuser\venv\lib\site-packages\sassutils\distutils.py
  c:\users\ieuser\venv\lib\site-packages\sassutils\distutils.pyc
  c:\users\ieuser\venv\lib\site-packages\sassutils\wsgi.py
  c:\users\ieuser\venv\lib\site-packages\sassutils\wsgi.pyc
  c:\users\ieuser\venv\scripts\sassc.exe
  c:\users\ieuser\venv\scripts\sassc.py
  c:\users\ieuser\venv\scripts\sassc.pyc
Proceed (y/n)? y
  Successfully uninstalled libsass-0.9.2

(venv) C:\Users\IEUser>pip install https://ci.appveyor.com/api/buildjobs/tsbhfwvgju69nku5/artifacts/dist/libsass-0.9.2-cp27-none-win32.whl
Collecting libsass==0.9.2 from https://ci.appveyor.com/api/buildjobs/tsbhfwvgju69nku5/artifacts/dist/libsass-0.9.2-cp27-none-win32.whl
  Downloading https://ci.appveyor.com/api/buildjobs/tsbhfwvgju69nku5/artifacts/dist/libsass-0.9.2-cp27-none-win32.whl (526kB)
    100% |################################| 528kB 682kB/s
Requirement already satisfied (use --upgrade to upgrade): six in c:\users\ieuser\venv\lib\site-packages (from libsass==0.9.2)
Installing collected packages: libsass
Successfully installed libsass-0.9.2

(venv) C:\Users\IEUser>python
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sass
>>> exit()

(venv) C:\Users\IEUser>

asottile added a commit that referenced this pull request Dec 3, 2015
Fix windows wheels.  Resolves #28.  Resolves #49
@asottile asottile merged commit 8d2de7b into sass:python Dec 3, 2015
@asottile asottile deleted the fix_windows_wheels branch December 3, 2015 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant