aboutsummaryrefslogtreecommitdiff
path: root/setup.py
blob: 098de354cf33786e53b4ec1c4b718942c54fe4f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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')