setup   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 26
dl 0
loc 30
rs 10
c 0
b 0
f 0
wmc 0
1
import sys
2
3
from setuptools import setup, find_packages
4
from os.path import join, dirname
5
6
if not sys.version_info[0] == 3 and sys.version_info[0] == 6:
7
    sys.exit("Sorry, need Python >= 3.6")
8
9
setup(
10
    name='weakorm',
11
    version='0.1',
12
    packages=find_packages(),
13
    long_description=open(join(dirname(__file__), 'README.md')).read(),
14
    url='https://github.com/mitrofun/weakorm',
15
    description='Simple ORM for sqlite.',
16
    classifiers=[
17
        'Development Status :: 1 - Alpha',
18
        'License :: OSI Approved :: MIT License',
19
        'Programming Language :: Python :: 3.6',
20
    ],
21
    keywords='orm sqlite',
22
    author='Dmitry Shesterkin',
23
    author_email='[email protected]',
24
    license='MIT',
25
    setup_requires=['pytest-runner'],
26
    tests_require=['pytest', 'pytest-flake8', 'flake8', 'pytest-mccabe'],
27
    test_suite='tests',
28
    python_requires='>=3.6',
29
    zip_safe=False
30
)
31