cclauss 0b4b522c38 str.partition() simplifies the logic, thighten up write()
str.partition() has nice advantages over str.split():

```python
to_append = item if "." not in item else item.split(".")[0]
# is equivalent to...
to_append = item.partition(".")[0]
```

Also tightened up generate_requirements_file() to send all data in a single write() operation
2015-04-28 07:35:54 +02:00
..
2015-04-22 18:40:17 +02:00
2015-04-22 18:40:17 +02:00