forked from antidot/Pyckson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (24 loc) · 1005 Bytes
/
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
import re
from setuptools import setup, find_packages
with open('src/pyckson/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
assert version is not None
setup(name='Pyckson',
version=version,
description='A minimalist python object mapper',
long_description='Pyckson is python library that allows you to simply convert python object to and from json',
url='https://github.com/antidot/Pyckson',
author='Jean Giard',
author_email='opensource@antidot.net',
license='LGPL',
classifier=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Programming Language :: Python :: 3'
],
keywords='pyckson json',
packages=find_packages(where='src'),
package_dir={'': 'src'},
install_requires=['arrow']
)