From ce520058813bff72bc8008847a5c812754048871 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 14 Apr 2014 00:10:58 -0400 Subject: Initial commit --- setup.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 setup.py (limited to 'setup.py') 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') -- cgit