-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
49 lines (39 loc) · 1.39 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
#!/usr/bin/env python
import sys
from os import path
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
install_requires = []
# Require python 3.7
if sys.version_info.major != 3 and sys.version_info.minor < 7:
sys.exit("'nullsafe' requires Python >= 3.7!")
setup(
name="nullsafe",
version="0.2.1",
author="Paaksing",
author_email="[email protected]",
url="https://github.com/paaksing/nullsafe-python",
description="Null safe support for Python",
long_description=long_description,
long_description_content_type='text/markdown',
keywords=["null-safe", "nullsafe", "none aware", "python"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.7",
"Environment :: Plugins",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed",
],
license="MIT",
packages=find_packages(exclude=("test")),
zip_safe=True,
install_requires=install_requires,
include_package_data=True,
)