diff options
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..098de35 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +#!/usr/bin/env python +from setuptools import setup +from os import unlink +from os.path import exists +from shutil import copy2 + + +copy2('aprio.py', 'aprio') + +setup( + name = "aprio", + version = "1.0", + scripts = ['aprio'], + + install_requires = ['python-daemon', 'argparse', 'psutil'], + package_data = { + '': ['LICENSE', '*.md'] + }, + + author = "Joseph Hunkeler", + author_email = 'jhunkeler@gmail.com', + description = """Automatically prioritizes processes based on user-defined + thresholds""", + license = "GPL", + keywords = 'renice nice priority posix daemon automatic', + url = 'http://bitbucket.org/jhunkeler/aprio' +) + +if exists('aprio'): + unlink('aprio') |