-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
48 lines (32 loc) · 1.26 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
from setuptools import setup
from codecs import open
from os import path
# from peewee_validates import __version__ # the build requires preinstalled peewee and datautils
__version__ = '1.0.8'
root_dir = path.abspath(path.dirname(__file__))
with open(path.join(root_dir, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(root_dir, 'requirements.txt'), encoding='utf-8') as f:
install_requires = list(map(str.strip, f.readlines()))
setup(
name='peewee-validates',
version=__version__,
description='Simple and flexible model validator for Peewee ORM.',
long_description=long_description,
url='https://github.com/timster/peewee-validates',
author='Tim Shaffer',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Database :: Front-Ends',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='peewee orm database form validation development',
py_modules=['peewee_validates'],
install_requires=install_requires,
)