novoid / Memacs

What did I do on February 14th 2007? Visualize your (digital) life in Org-mode
GNU General Public License v3.0
1.03k stars 66 forks source link

Add testing on different python versions using tox and change requirements.txt #78

Closed DerBeutlin closed 6 years ago

DerBeutlin commented 6 years ago

I added a very simple setup.py file and a tox.ini file to enable testing on different python versions. Additionally I updated the requirements.txt and removed all the hard version numbers. Not sure if this is really the best way but since everything is tested on different python versions one should recognise version conflicts pretty soon.

Right now Tox runs all the unittests on Python 3.4,3.5 and 3.6. It would also be possible to run PEP8 checker etc. to ensure code format.

In order to use it one has to install tox (pip install tox),install all the necessary python versions, and then just run tox in the root directory. If one only wants to test a specific python version one can call it with tox -e py36

For me all unittests pass on all three python versions, so from my point we can also close #52

novoid commented 6 years ago

Thanks for adapting the tox setup for Memacs!