Add 'cssmin' to requirements.txt #57

Open
srid opened this Issue Feb 6, 2011 · 4 comments

Comments

Projects
None yet
4 participants
@srid

srid commented Feb 6, 2011

$ python hyde.py  -g -s ~/blog -d ~/blog-deploy 
INFO:Pre processing /Users/user/blog[2011-02-05 16:51:40,922]
INFO:Processing /index.html[2011-02-05 16:51:40,923]
INFO:Processing /about/about.html[2011-02-05 16:51:41,385]
INFO:Processing /archives/firstpost.html[2011-02-05 16:51:41,413]
INFO:Processing /archives/archives.html[2011-02-05 16:51:41,426]
INFO:Processing /media/css/base.css[2011-02-05 16:51:41,438]
Generation Failed
Traceback (most recent call last):
  File "/Users/sridharr/code/hyde/hydeengine/__init__.py", line 417, in process_all
    self.process(resource)
  File "/Users/sridharr/code/hyde/hydeengine/__init__.py", line 377, in process
    return self.processor.process(item)
  File "/Users/sridharr/code/hyde/hydeengine/processor.py", line 111, in process
    processor.process(resource)
  File "/Users/sridharr/code/hyde/hydeengine/media_processors.py", line 102, in process
    import cssmin
ImportError: No module named cssmin
@myfreeweb

This comment has been minimized.

Show comment Hide comment
@myfreeweb

myfreeweb Feb 6, 2011

cssmin is optional. Not everybody needs it.

Maybe create "recommended.txt"?

cssmin is optional. Not everybody needs it.

Maybe create "recommended.txt"?

@srid

This comment has been minimized.

Show comment Hide comment
@srid

srid Feb 7, 2011

cssmin is optional. Not everybody needs it.

If it is optional, then why does the default example mentioned in README fail to run? To explain, I followed the "Running with Hyde" section, specifically step 1 (Initializer) and 2 (Generator).

Maybe create "recommended.txt"?

I suggest that the optional dependencies be put in setup.py as extras_require. See the documentation or SQLObject's setup.py for an example.

srid commented Feb 7, 2011

cssmin is optional. Not everybody needs it.

If it is optional, then why does the default example mentioned in README fail to run? To explain, I followed the "Running with Hyde" section, specifically step 1 (Initializer) and 2 (Generator).

Maybe create "recommended.txt"?

I suggest that the optional dependencies be put in setup.py as extras_require. See the documentation or SQLObject's setup.py for an example.

@lakshmivyas

This comment has been minimized.

Show comment Hide comment
@lakshmivyas

lakshmivyas Feb 7, 2011

Member

yeah - recommended seems like a good idea. Will do.

Member

lakshmivyas commented Feb 7, 2011

yeah - recommended seems like a good idea. Will do.

@zenbum

This comment has been minimized.

Show comment Hide comment
@zenbum

zenbum Sep 11, 2012

What @srid said. The README example failing first-hand really gives a bad first impression...

zenbum commented Sep 11, 2012

What @srid said. The README example failing first-hand really gives a bad first impression...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment