-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (62 loc) · 2.02 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
import unittest
import os
from setuptools import setup
from distutils.core import Command
from versionedobj import __version__
HERE = os.path.abspath(os.path.dirname(__file__))
README = os.path.join(HERE, "README.rst")
class RunVersionedObjTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
suite = unittest.TestLoader().discover("tests")
t = unittest.TextTestRunner(verbosity = 2)
t.run(suite)
with open(README, 'r') as f:
long_description = f.read()
setup(
name='versionedobj',
version=__version__,
description=('Easy object serialization & versioning framework'),
long_description=long_description,
url='http://github.com/eriknyquist/versionedobj',
author='Erik Nyquist',
author_email='eknyquist@gmail.com',
license='Apache 2.0',
packages=['versionedobj'],
cmdclass={'test': RunVersionedObjTests},
include_package_data=True,
zip_safe=False,
python_requires=">=3.7",
keywords=[
"serialization",
"json",
"api",
"marshal",
"marshalling",
"deserialization",
"validation",
"schema"
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
project_urls={
"Documentation": "https://eriknyquist.github.io/versionedobj",
"Issues": "https://github.com/eriknyquist/versionedobj/issues",
"Contributions": "https://eriknyquist.github.io/versionedobj/#contributions"
}
)