Skip to content

Commit

Permalink
Created installation script.
Browse files Browse the repository at this point in the history
  • Loading branch information
eterey committed Jun 9, 2014
1 parent 94f0234 commit 0f112b4
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 0 deletions.
12 changes: 12 additions & 0 deletions MANIFEST
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
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
65 changes: 65 additions & 0 deletions setup.py
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()

0 comments on commit 0f112b4

Please sign in to comment.