forked from Deepwalker/trafaret_forked
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·43 lines (36 loc) · 1.16 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
#!/usr/bin/env python
from setuptools import setup
import os.path
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setupconf = dict(
name='trafaret',
version='0.5.0',
license='BSD',
url='https://github.com/Deepwalker/trafaret/',
author='Barbuza, Deepwalker, nimnull',
author_email='krivushinme@gmail.com',
description=('Validation and parsing library'),
long_description=read('README.rst'),
keywords='validatation form forms data schema',
packages=['trafaret', 'trafaret.contrib'],
extras_require=dict(
objectid=['pymongo>=2.4.1'],
rfc3339=['python-dateutil>=1.5']
),
entry_points=dict(
trafaret=[
'.MongoId = trafaret.contrib.object_id:MongoId [objectid]',
'.DateTime = trafaret.contrib.rfc_3339:DateTime [rfc3339]'
]
),
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
]
)
if __name__ == '__main__':
setup(**setupconf)