Debian Codegraph @

setup.py

raw
1 from setuptools import setup, find_packages
2 import site, os, sys, shutil
3
4 try:
5 readme = "README.md"
6 with open(readme, "r") as fh:
7 long_description = fh.read()
8 except:
9 print("failed to read %s" % readme)
10
11 setup(
12 name = 'guider',
13 version = '3.9.8993',
14 license = 'GPL2',
15 description = 'Unified performance analyzer',
16 author = 'Peace Lee',
17 author_email = '[email protected]',
18 url = 'https://github.com/iipeace/guider',
19 readme = 'README.md',
20 long_description=long_description,
21 long_description_content_type="text/markdown",
22 download_url = 'https://github.com/iipeace/guider/archive/master.zip',
23 packages = find_packages(exclude = ['tests*']),
24 keywords = ['guider', 'linux', 'analyzer', 'performance', 'profile', 'trace', 'kernel'],
25 scripts = ['guider/guider'],
26 data_files = [("share/guider", ["guider/guider.conf"]), ('share/man/man1', ['guider.1'])],
27 zip_safe=False,
28 install_requires = ['psutil; platform_system!="Linux"'],
29 classifiers = [
30 'Environment :: Console',
31 'Natural Language :: English',
32 'Operating System :: Android',
33 'Operating System :: MacOS',
34 'Operating System :: Microsoft :: Windows',
35 'Operating System :: POSIX :: Linux',
36 'Programming Language :: Python',
37 'Topic :: Software Development :: Debuggers',
38 'Topic :: Software Development :: Embedded Systems',
39 'Topic :: Software Development :: Testing',
40 'Topic :: System :: Filesystems',
41 'Topic :: System :: Monitoring',
42 'Topic :: System :: Operating System Kernels :: Linux',
43 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
44 ],
45 )
46
47 '''
48 build & install command
49 # python3 -m pip install setuptools wheel
50 # python3 setup.py build
51 # python3 setup.py install
52 pypi upload command
53 # sudo python3 -m pip install twine==1.11 wheel
54 # rm dist/* -rf
55 # sudo python3 setup.py sdist bdist_wheel
56 # python3 -m twine upload --repository pypi dist/*
57 # python3 -m twine upload --repository pypitest dist/*
58 '''