diff options
author | Joseph Hunkeler <jhunk@stsci.edu> | 2014-04-14 00:10:58 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2014-04-14 00:10:58 -0400 |
commit | ce520058813bff72bc8008847a5c812754048871 (patch) | |
tree | 8d57315c79ae5a344dfc20acfbb857adbbd8b7c2 | |
parent | dc4cbba11cca060675cdda08926da998bbb53798 (diff) | |
download | aprio-ce520058813bff72bc8008847a5c812754048871.tar.gz |
Initial commit
-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') |