forked from root-eth/klaytn.scope.run
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (49 loc) · 1.61 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
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def version():
try:
return read('VERSION').strip().lstrip('v')
except:
return "0.0.0.dev0"
with open('requirements.txt') as f:
requirements = f.read().splitlines()
long_description = read('README.md') if os.path.isfile("README.md") else ""
setup(
name='klaytn-etl-cli',
version=version(),
author='Yongchan Hong',
author_email='chan.hong@krustuniverse.com',
description='Tools for exporting Klaytn blockchain data to JSON',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/klaytn/klaytn-etl',
packages=find_packages(exclude=['schemas', 'tests']),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords=['klaytn', 'etl', 'batch'],
python_requires='>=3.7.2,<4',
install_requires=requirements,
extras_require={
'dev': [
'pytest~=4.3.0'
]
},
entry_points={
'console_scripts': [
'klaytnetl=klaytnetl.cli:cli',
],
},
project_urls={
'Bug Reports': 'https://github.com/klaytn/klaytn-etl/issues',
'Source': 'https://github.com/klaytn/klaytn-etl/tree/klaytn-etl',
},
)