Skip to content

Commit c5b5204

Browse files
authoredSep 5, 2024··
Create setup.py
1 parent dc2eaa5 commit c5b5204

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
 

‎setup.py

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
from setuptools import setup, find_packages
2+
3+
def read_description():
4+
with open('README.md', 'r') as f:
5+
return f.read()
6+
7+
def get_version():
8+
with open('eulers_shield/__init__.py', 'r') as f:
9+
for line in f:
10+
if line.startswith('__version__'):
11+
return line.split('=')[1].strip().strip("'")
12+
13+
setup(
14+
name='eulers-shield',
15+
version=get_version(),
16+
packages=find_packages(),
17+
install_requires=[
18+
'web3==5.24.0',
19+
'requests==2.26.0',
20+
'pandas==1.3.5',
21+
'numpy==1.22.2'
22+
],
23+
author='KOSASIH',
24+
author_email='[kosasihg88@gmail.com](mailto:kosasihg88@gmail.com)',
25+
description='A high-tech shield for Euler\'s number',
26+
long_description=read_description(),
27+
long_description_content_type='text/markdown',
28+
url='https://github.com/blackbox-ai/eulers-shield',
29+
classifiers=[
30+
'Development Status :: 5 - Production/Stable',
31+
'Intended Audience :: Developers',
32+
'License :: OSI Approved :: Apache 2.0 License',
33+
'Programming Language :: Python :: 3.9',
34+
'Programming Language :: Python :: 3.10',
35+
'Topic :: Scientific/Engineering :: Mathematics'
36+
],
37+
keywords='eulers shield pi coin stability fund market oracle',
38+
project_urls={
39+
'Documentation': 'https://eulers-shield.readthedocs.io',
40+
'Source': 'https://github.com/blackbox-ai/eulers-shield',
41+
'Tracker': 'https://github.com/blackbox-ai/eulers-shield/issues'
42+
}
43+
)

0 commit comments

Comments
 (0)
Please sign in to comment.