SoftwareDefinedBuildings / smap

smap - Simple Measurement and Actuation Profile
Other
30 stars 36 forks source link

Added documentation for smap installation #4

Closed anthonysutardja closed 10 years ago

anthonysutardja commented 10 years ago

Updated requirements.txt to match the dependencies needed to launch smap, and added a README

stevedh commented 10 years ago

Yeah -- I did make it so pybonjour just prints a warning if it's not installed since most people won't be able to use it. A also discovered that pybonjour doesn't work with recent versions of libavahi-compat-libdnssd1, which sucks, so we'll have to have a different version of the bonjour crap that uses dbus.

Please don't wipe out all the changes in my original requirements.txt -- I checked the versions we should actually be compatible with rather than just specifying the minor version number -- this makes it a lot cleaner in some cases since you might be able to use the system install of the library rather than needing to download it from pip every time.

anthonysutardja commented 10 years ago

Yeah, I realized that I shouldn't have changed the original requirements.txt and moved it to an osx_requirements.txt.

I'm just trying to write some docs so that other undergraduates can get started on installing/working with smap. Should I just remove the osx_requirements.txt and just write up a guide on the read me for what needs to be installed?

stevedh commented 10 years ago

I think leaving osx_requirements is okay, if they are different from what's in the standard requirements. Are all of these necessary? Several of them are dependencies of twisted and get installed automatically.

I think adding pyOpenSSL as a requirement for all installs would be fine though.

anthonysutardja commented 10 years ago

Ah right, I just did a pip freeze. I've cleaned up osx_requirements.txt to install the packages that weren't included as dependencies and added pyopenssl to requirements.txt as well.