-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
58 lines (40 loc) · 1.42 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
from setuptools import setup
from codecs import open
from os import path
from peewee_moves import __version__
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-moves',
version=__version__,
description='Simple and flexible migration manager for Peewee ORM.',
long_description=long_description,
url='https://github.com/timster/peewee-moves',
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.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='peewee orm database migration development',
py_modules=['peewee_moves'],
entry_points={
'flask.commands': [
'db = peewee_moves:flask_command',
],
'console_scripts': [
'peewee-db = peewee_moves:cli_command'
],
},
install_requires=install_requires,
)