-
-
Notifications
You must be signed in to change notification settings - Fork 73
/
setup.py
40 lines (34 loc) · 1.02 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
#!/usr/bin/env python3
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as readme_file:
long_description = readme_file.read()
if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist upload')
sys.exit()
setup(
name='ote',
version='0.0.4',
description='CLI application to generate emails and fetch OTPs',
long_description_content_type='text/markdown',
long_description=long_description,
url='https://github.com/s0md3v/ote',
download_url='https://github.com/s0md3v/ote/releases',
author='Somdev Sangwan',
author_email='s0md3v@gmail.com',
maintainer='Somdev Sangwan',
maintainer_email='s0md3v@gmail.com',
install_requires=['requests','html2text'],
packages=['ote'],
zip_safe=True,
entry_points={
'console_scripts': [
'ote = ote.__main__:main'
]
},
)