setup   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 26
dl 0
loc 35
rs 10
c 0
b 0
f 0
1
#!/usr/bin/python
2
# -*- coding: utf-8 -*-
3
import os
4
5
from setuptools import setup, find_packages
6
7
current_directory = os.path.abspath(os.path.dirname(__file__))
8
9
about = {}
10
with open(os.path.join(current_directory, 'tw_serverinfo', '__version__.py'), 'r') as f:
11
    exec(f.read(), about)
12
13
with open("README.md", "r") as fh:
14
    long_description = fh.read()
15
16
setup(name=about['__title__'],
17
      version=about['__version__'],
18
      description=about['__description__'],
19
      long_description=long_description,
20
      long_description_content_type="text/markdown",
21
      url=about['__url__'],
22
      author=about['__author__'],
23
      author_email=about['__author_email__'],
24
      license=about['__license__'],
25
      packages=find_packages(),
26
      install_requires=[
27
          'pycountry>=18.5.26'
28
      ],
29
      classifiers=[
30
          "Programming Language :: Python :: 3",
31
          "License :: OSI Approved :: MIT License",
32
          "Operating System :: OS Independent",
33
      ],
34
      zip_safe=True)
35