-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# file GENERATED by distutils, do NOT edit | ||
setup.cfg | ||
setup.py | ||
pyspectator/__init__.py | ||
pyspectator/collection.py | ||
pyspectator/computer.py | ||
pyspectator/convert.py | ||
pyspectator/memory.py | ||
pyspectator/monitoring.py | ||
pyspectator/network.py | ||
pyspectator/processor.py | ||
test/test_collections.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
description-file = README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
from distutils.core import setup | ||
import platform | ||
|
||
|
||
def main(): | ||
requires = [ | ||
"psutil >= 2.1.1", | ||
"netifaces >= 0.10.4", | ||
] | ||
if platform.system() == 'Windows': | ||
requires.append('wmi >= 1.4.9') | ||
setup( | ||
name='pyspectator', | ||
version='1.0.0', | ||
author='Maxim Grischuk, Vova Sirenko', | ||
author_email='[email protected]', | ||
packages=['pyspectator'], | ||
url='https://github.com/opium999/pyspectator', | ||
download_url='https://github.com/opium999/pyspectator/releases', | ||
license='BSD', | ||
description='pyspectator is a cross-platform library for retrieving full information about computer.', | ||
long_description=open('README.md').read(), | ||
install_requires=requires, | ||
keywords=['spectator', 'monitoring', 'statistic', 'mem', 'network', 'io', 'cpu', 'disk'], | ||
platforms='Platform Independent', | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: Console', | ||
'Environment :: Win32 (MS Windows)', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Information Technology', | ||
'Intended Audience :: System Administrators', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: MacOS :: MacOS X', | ||
'Operating System :: Microsoft :: Windows :: Windows NT/2000', | ||
'Operating System :: Microsoft', | ||
'Operating System :: OS Independent', | ||
'Operating System :: POSIX :: BSD :: FreeBSD', | ||
'Operating System :: POSIX :: Linux', | ||
'Operating System :: POSIX :: SunOS/Solaris', | ||
'Operating System :: POSIX', | ||
'Programming Language :: C', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.0', | ||
'Programming Language :: Python :: 3.1', | ||
'Programming Language :: Python :: 3.2', | ||
'Programming Language :: Python :: 3.3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: Implementation :: CPython', | ||
'Programming Language :: Python', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: Software Development :: Libraries', | ||
'Topic :: System :: Benchmark', | ||
'Topic :: System :: Hardware', | ||
'Topic :: System :: Monitoring', | ||
'Topic :: System :: Networking :: Monitoring', | ||
'Topic :: System :: Networking', | ||
'Topic :: System :: Systems Administration', | ||
'Topic :: Utilities', | ||
], | ||
) | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |