forked from berlincode/ndb-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·48 lines (42 loc) · 1.41 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('pandoc --from=markdown --to=rst -o README.rst README.md')
os.system('python setup.py sdist upload')
sys.exit()
README = open('README.md').read()
HISTORY = open('CHANGES.txt').read().replace('.. :changelog:', '')
setup(
name='ndb-orm',
version='0.10.1',
description="google datatstore ndb orm which might be used with google-cloud-datastore (python3 compatible)",
long_description=README + '\n\n' + HISTORY,
author='Ulf Bartel',
author_email='[email protected]',
url='https://github.com/berlincode/ndb-orm',
packages=[
'ndb_orm',
],
package_dir={'ndb_orm': 'ndb_orm'},
include_package_data=True,
install_requires=['six', 'google-cloud-datastore>=1.5.0', 'proto-google-cloud-datastore-v1', 'protorpc'],
license='Apache 2.0',
zip_safe=False,
keywords='ndb, model, orm, app engine standard, flexible, datastore, python3, migrate',
entry_points={
},
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
],
test_suite='tests',
)