forked from pkgcore/pkgcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·57 lines (49 loc) · 1.54 KB
/
setup.py
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
# Copyright: 2006 Brian Harring <[email protected]>
# License: BSD/GPL2
import io
import os
from setuptools import setup, find_packages
import pkgdist
class test(pkgdist.test):
blacklist = frozenset(['pkgcheck.plugins'])
with io.open('README.rst', encoding='utf-8') as f:
readme = f.read()
setup(
name='pkgcheck',
version=pkgdist.version(),
license='BSD/GPL2',
author='Brian Harring, Tim Harder',
author_email='[email protected]',
description='pkgcore-based QA utility',
long_description=readme,
url='https://github.com/pkgcore/pkgcheck',
packages=find_packages(),
install_requires=[
'lxml',
'snakeoil>=0.7.2',
'pkgcore>=0.9.5',
],
scripts=os.listdir('bin'),
data_files=list(
pkgdist.data_mapping('share/zsh/site-functions', 'completion/zsh'),
),
cmdclass={
'sdist': pkgdist.sdist,
'test': test,
'build_py': pkgdist.build_py2to3,
'build_man': pkgdist.build_man,
'build_docs': pkgdist.build_docs,
'build_scripts': pkgdist.build_scripts,
'install_man': pkgdist.install_man,
'install_docs': pkgdist.install_docs,
},
classifiers=[
'License :: OSI Approved :: BSD License',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)