-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
72 lines (62 loc) · 1.72 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
'''
ponywhoosh
~~~~~~~~~~
Your database now searchable.
:copyright: (c) 2015-2018 by Jonathan S. Prieto & Ivan Felipe Rodriguez.
:license: BSD (see LICENSE.md)
'''
import io
import os
import re
from glob import glob
from os.path import basename, dirname, join, relpath, splitext
from setuptools import find_packages, setup
def read(*names, **kwargs):
return io.open(
join(dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
).read()
setup(
name='ponywhoosh'
, version="1.7.8"
, url='https://github.com/jonaprieto/ponywhoosh'
, license='MIT'
, author='Jonathan Prieto-Cubides & Felipe Rodriguez'
, author_email='jprieto9@eafit.edu.co'
, description='Your database now searchable. The backend behind the Flask-PonyWhoosh.'
, long_description='%s' % ( read('README.rst') )
, packages=find_packages()
, zip_safe=False
, include_package_data=True
, platforms='any'
, keywords=
[ 'elastic'
, 'engine'
, 'flask'
, 'flask-sqlalchemy'
, 'flask-whooshalchemy'
, 'mysql'
, 'pony'
, 'ponyorm'
, 'ponywhoosh'
, 'search'
, 'searchable'
, 'sqlite3'
, 'whoosh'
]
, install_requires=['pony', 'whoosh']
, classifiers=[
'Environment :: Web Environment'
, 'Intended Audience :: Developers'
, 'License :: OSI Approved :: MIT License'
, 'Operating System :: OS Independent'
, 'Programming Language :: Python'
, 'Topic :: Internet :: WWW/HTTP :: Dynamic Content'
, 'Topic :: Software Development :: Libraries :: Python Modules'
]
)
# pandoc --from=rst --to=rst --output=README.rst README.rst
# Pasos para subir a pypi
# git tag v...
# python setup.py register -r pypi
# python setup.py sdist upload -r pypi