-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
42 lines (38 loc) · 1.32 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
from setuptools import setup, find_packages
import subprocess
import sys
with open('README.rst', 'r', encoding='utf-8') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst', 'r', encoding='utf-8') as history_file:
history = history_file.read()
def pip_install(package_name):
subprocess.call(
[sys.executable, '-m', 'pip', 'install', package_name]
)
pip_install('wmi')
setup(
name='pywinwatcher',
version='0.0.1',
description='Operating system event monitoring package',
long_description=readme + '\n\n' + history,
author='Evgeny Drobotun',
author_email='drobotun@xakep.ru',
url='https://github.com/drobotun/pywinwatcher',
zip_safe=False,
license='MIT',
keywords='system event, monitoring, file system event, process event, registry event',
project_urls={
'Source': 'https://github.com/drobotun/pywinwatcher'
},
classifiers=[
'Environment :: Win32 (MS Windows)',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: Microsoft :: Windows',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.8',
],
packages=find_packages(),
)