-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
50 lines (43 loc) · 1.56 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
import imp
from os import path
from setuptools import find_packages, setup
VERSION = imp.load_source('version', path.join('.', 'pecyn', 'version.py'))
VERSION = VERSION.__version__
REQUIRES = [
'msgpack>=0.6.1',
]
def _load_description():
with open('README.md', 'r', encoding='utf-8') as f:
return f.read()
setup(
name='pecyn',
version=VERSION,
url='https://github.com/falconry/pecyn',
description='Simple, fast, and compact object serialization for humans.',
long_description=_load_description(),
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 3 - Alpha',
'Natural Language :: English',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
author='Kurt Griffiths',
author_email='[email protected]',
packages=find_packages(exclude=['tests']),
include_package_data=True,
setup_requires=['setuptools>=38.6.0'],
install_requires=REQUIRES,
tests_require=['pytest', 'coverage'],
python_requires='>=3.5',
)