~yerinalexey/pcrond

b8852edc2de0242ed1e6aa99345a41e94052c4a3 — Luca Vercelli 2 years ago 1d4b23d
setup
3 files changed, 22 insertions(+), 3 deletions(-)

M README.rst
R pcrond.py => scripts/pcrond
A setup.py
M README.rst => README.rst +3 -3
@@ 32,10 32,10 @@ Usage

.. code-block:: bash

    $ python ./setup.py
    $ ./pcrond.py path/to/my/crontab/file
    $ ./setup.py install --prefix=~/.local
    $ pcrond path/to/my/crontab/file
    

(this assumes that `~/.local/bin` is in the PATH)
It is also possible to use this library within youir python program, however this is not the intended use.
If you want to do this, just mimic what pcrond.py does.


R pcrond.py => scripts/pcrond +0 -0
A setup.py => setup.py +19 -0
@@ 0,0 1,19 @@
#!/usr/bin/env python
#this is the standard way of installing a Python module, using distutils:
#sudo ./setup.py install
#or
#./setup.py install --prefix=~/.local
#uninstall is not provided, see https://stackoverflow.com/questions/1550226

from distutils.core import setup

setup(name='pcrond',
      version='1.0',
      description='Userspace cron daemon',
      author='Luca Vercelli',
      author_email='luca.vercelli.to@gmail.com',
      url='https://github.com/luca-vercelli/pcrond',
      packages=['pcrond'],
      scripts=['scripts/pcrond'],
     )