Skip to content

Commit

Permalink
initial build
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v authored Jan 5, 2021
1 parent 87b7a9a commit 95701b8
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
37 changes: 37 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[metadata]
license = GNU General Public License v3 or later (GPLv3+)
license_file = LICENSE
platforms = any
description = CLI application to generate emails and fetch OTPs.
long_description = file: README.md
keywords = otp, email
classifier =
Development Status :: 4 - Beta
Intended Audience :: End Users/Desktop
Intended Audience :: Developers
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Operating System :: OS Independent
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Topic :: Utilities

[flake8]
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build

[isort]
# https://github.com/timothycrosley/isort
# https://github.com/timothycrosley/isort/wiki/isort-Settings
# splits long import on multiple lines indented by 4 spaces
multi_line_output = 4
indent = " "
# By default isort don't check module indexes
not_skip = __init__.py
# Will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
sections = FUTURE,STDLIB,INBETWEENS,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
default_section = THIRDPARTY
known_first_party = otp
forced_separate = tests
combine_as_imports = true
use_parentheses = true
39 changes: 39 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/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.1',
description='CLI application to generate emails and fetch OTPs',
long_description=long_description,
url='https://github.com/s0md3v/ote',
download_url='https://github.com/s0md3v/ote/releases',
author='Somdev Sangwan',
author_email='[email protected]',
maintainer='Somdev Sangwan',
maintainer_email='[email protected]',
install_requires=['requests','html2text'],
packages=['ote'],
zip_safe=True,
entry_points={
'console_scripts': [
'ote = ote.__main__:main'
]
},
)

0 comments on commit 95701b8

Please sign in to comment.