diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..cbe5b9b --- /dev/null +++ b/MANIFEST @@ -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 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..224a779 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..fd2d3b3 --- /dev/null +++ b/setup.py @@ -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='uzumaxy@gmail.com', + 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() \ No newline at end of file