-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·35 lines (31 loc) · 935 Bytes
/
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
import io
import setuptools
from setuptools import setup
def readme():
with io.open('README.md', 'r', encoding='utf-8') as f:
return f.read()
def readversion():
with io.open('VERSION', 'r', encoding='utf-8') as f:
return f.read().strip()
params = {
'name':'pgeodistance',
'version':readversion(),
'description':'Compute global postal code geo distance',
'long_description':readme(),
'long_description_content_type':"text/markdown",
'classifiers':[
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Operating System :: MacOS'
],
'keywords':'metric',
'url':'',
'author':'Sparkle',
'author_email':'jyao@squareup.com',
'packages':setuptools.find_packages(),
'install_requires':[],
'include_package_data':True,
'zip_safe':False
}
if __name__ == '__main__':
setup(**params)