setup   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 30
dl 0
loc 39
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A read() 0 3 2
1
# !/usr/bin/env python
2
3
from io import open
4
5
from setuptools import setup
6
7
8
def read(filename):
9
    with open(filename, encoding='utf-8') as file:
10
        return file.read()
11
12
13
setup(
14
  name='keyboa',
15
  packages=['keyboa'],
16
  version='3.1.0',
17
  license='MIT',
18
  description="Telegram Inline Keyboards Generator",
19
  long_description=read("README.md"),
20
  long_description_content_type="text/markdown",
21
  author='torrua',
22
  author_email='[email protected]',
23
  url='https://github.com/torrua/keyboa',
24
  download_url='https://github.com/torrua/keyboa/archive/v3.1.0.tar.gz',
25
  keywords=['Generate', 'Inline', 'Keyboard', 'Telegram'],
26
  install_requires=[
27
          'pytelegrambotapi',
28
      ],
29
  classifiers=[
30
    'Development Status :: 5 - Production/Stable',  # "3 - Alpha", "4 - Beta" or "5 - Production/Stable"
31
    'Intended Audience :: Developers',
32
    'Topic :: Software Development :: Build Tools',
33
    'License :: OSI Approved :: MIT License',
34
    'Programming Language :: Python :: 3.7',
35
    'Programming Language :: Python :: 3.8',
36
    'Programming Language :: Python :: 3.9',
37
  ],
38
  python_requires='>=3.7',
39
)
40