Comments (8)
I faced the same problem. I worked around this using the following method (I'm using virtualenv by the way):
-
Cloned the repository into [virtualenv_dir]/tmp/hamlpy
-
In [virtualenv_dir]/bin created a script hamlpy-watcher with the following content
python [virtualenv_dir]/tmp/hamlpy/hamlpy/hamlpy_watcher.py $1
-
Ran
chmod u+x hamlpy-watcher
from hamlpy.
Can confirm I'm getting the same problem under Windows (it's trying to install the Mac version).
Must be some issue related to the last push to pypi: http://pypi.python.org/simple/hamlpy/ pip finds 0.6 to be the latest, but that package doesn't appear to have been zipped correctly.
from hamlpy.
I had a problem to install HamlPy on Mac OS X. This worked though: pip install git+git://github.com/jessemiller/HamlPy.git
The traceback of pip install hamlpy
:
Downloading/unpacking hamlpy (from -r requirements.pip (line 5))
Downloading hamlpy-0.6.macosx-10.7-intel.tar.gz
Running setup.py egg_info for package hamlpy
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/Users/andrei/.pythonbrew/venvs/Python-2.7.2/abc/build/hamlpy/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/Users/andrei/.pythonbrew/venvs/Python-2.7.2/abc/build/hamlpy/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1
from hamlpy.
Can confirm this issue.
Trying install via easy_install hamlpy
:
Searching for hamlpy Reading http://pypi.python.org/simple/hamlpy/ Reading http://github.com/jessemiller/HamlPy Reading http://pypi.python.org/simple/hamlpy/[email protected]:jessemiller/HamlPy.git Best match: hamlpy 0.6.macosx-10.7-intel Downloading http://pypi.python.org/packages/any/h/hamlpy/hamlpy-0.6.macosx-10.7-intel.tar.gz#md5=141dc2de65949d92c989c65eb96a780d Processing hamlpy-0.6.macosx-10.7-intel.tar.gz error: Couldn't find a setup script in /tmp/easy_install-kSuQP2/hamlpy-0.6.macosx-10.7-intel.tar.gz
from hamlpy.
I'm having the same problem.
@modocache ~/$ pip install hamlpy
Downloading/unpacking hamlpy
Downloading hamlpy-0.6.macosx-10.7-intel.tar.gz
Running setup.py egg_info for package hamlpy
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/Users/modocache/.virtualenvs/dg/build/hamlpy/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/Users/modocache/.virtualenvs/dg/build/hamlpy/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /Users/modocache/.pip/pip.log
I ran pip install git+...
like @andreif did, so I guess it's not too big a deal.
from hamlpy.
This should be fixed now.. really sorry about it.. can someone else confirm?
from hamlpy.
Hamlpy now installs correctly for me.
from hamlpy.
Awesome, fixed for me, too. Thanks!
from hamlpy.
Related Issues (20)
- %a processing bug HOT 1
- jinja2 macro and call tags closed as blocks HOT 1
- HamlPy cannot run from library.zip HOT 3
- Python3 support for hamlpy HOT 10
- HamlPy comment before else produces incorrect output
- Not found on PyPi
- JS inline comments // don't work
- Reverse HTML to HamlPy compiler
- Can't find templatize HOT 2
- "or" statement does not work as expected in "if" tests
- Django if-else tags common inner content HOT 1
- support for :preserve tag?
- Load / extends html file
- HamlPy linter?
- Can't encode UTF8 characters in shell
- Quoting issues when using inline variable with filter
- Using a "with" statement does not close the tag properly HOT 2
- Hamlpy on django 1.11 uses the standard django-templates instead hamlpy HOT 2
- How to write an attribute starting with the symbol #
- A ReDoS vulnerability exists in nodes.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hamlpy.