-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (28 loc) · 879 Bytes
/
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
import sys
import os
from setuptools import setup, find_packages
from interrupt_handler import __version__
def main():
# Read Description form file
try:
with open('README.rst') as f:
description = f.read()
except:
print('Cannot find README.md file.', file=sys.stderr)
description = "Interrupt Handling Utility for Python."
setup(
name='InterruptHandler',
version=__version__,
description='Interrupt Handling Library for Python.',
long_description=description,
author='Hyoil LEE',
author_email='[email protected]',
license='MIT License',
packages=find_packages(exclude=['.temp', '.test']),
url='https://github.com/onetop21/interrupt_handler.git',
zip_safe=False,
python_requires='>=3.0',
install_requires=[],
)
if __name__ == '__main__':
main()