DistributedTaskScheduling / JobAdder

Source code of the JobAdder project
GNU General Public License v3.0
2 stars 1 forks source link

Server shutdown #119

Closed ammen99 closed 4 years ago

ammen99 commented 4 years ago

Fixes #110

ammen99 commented 4 years ago

I have not been able to figure out how to make setup.py exclude the test/ folder. I have tried multiple possible solutions (exclude="test/" and adding a MANIFEST.in with prune/recursive-exclude) but nothing seems to work. As a workaround I just rename the __init__.py file so that the folder does not get recognized as a source.

Also, I am using a separate script. I think this will be easier than trying to hack setup.py (somewhere in the docs I read setuptools is not supposed to install files to /etc which is needed for systemd service files and config files)

Note if someone tries to test this: after installing, run sudo systemctl daemon-reload to get the new unit.

ammen99 commented 4 years ago

Seems like TravisCI is having some issues at the moment, however, builds are still being run (albeit late). This PR for example is passing: https://travis-ci.org/github/DistributedTaskScheduling/JobAdder/builds