Open hupili opened 11 years ago
Following is one way to gracefully manage it:
requirements.txt
only includes the minimal requirements that would get normal platforms work. requirements.txt.extra
includes extra dependencies required by some platforms, e.g. lxml
. Besides, load requirements.txt
in setup.py
instead of hardcoding.
This makes sure casual users can do a pip install snsapi
smoothly and get hands on in a few minutes.
Just helped a new user on getting SNSAPI up for the first run on his fresh Ubuntu system. I find that installing lxml is no so straightforward. Users should have
python-dev
andlibxslt
installed. New users (to Linux and Python) may have difficulty figuring it out.The solution:
custom_config.py
can be a good place to do this.