forked from c-goosen/za_identity_number
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (63 loc) · 2.17 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
import codecs
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
__version__ = "0.0.2"
curr_dir = os.path.abspath(os.path.dirname(__file__))
long_description = (long_description,)
long_description_content_type = "text/markdown"
with codecs.open(os.path.join(curr_dir, "README.md"), encoding="utf-8") as readme:
long_description = readme.read()
tests_require = [
"pytest",
"pytest-cov",
"codecov",
"flake8",
"black",
"bandit",
"pytest-runner",
]
setup(
name="za-id-number",
version=__version__,
description="Library South African ID number validation and easy data extraction.",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/c-goosen/za-identity-number",
author="Christo Goosen",
author_email="christogoosen@gmail.com",
python_requires=">=3.5.0",
include_package_data=True,
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: Unix",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX :: BSD :: FreeBSD",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development",
"Typing :: Typed",
],
keywords="South Africa ID Number",
packages=find_packages(
exclude=["docs", "docs-src", "tests", "tests.*", "tutorial"]
),
setup_requires=["luhn >= 0.2.0 "],
test_suite="tests",
tests_require=tests_require,
# cmdclass={"validate": ValidateCommand},
)