-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 1023 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
#!/usr/bin/env python
from setuptools import setup
from io import open
import re
def read(filename):
with open(filename, encoding='utf-8') as file:
return file.read()
with open('pyCryptomusAPI/version.py', 'r', encoding='utf-8') as f: # Credits: LonamiWebs
version = re.search(r"^__version__\s*=\s*'(.*)'.*$",
f.read(), flags=re.MULTILINE).group(1)
setup(name='pyCryptomusAPI',
version=version,
description='Python implementation of Cryptomus (https://cryptomus.com) pubilc API',
long_description=read('README.md'),
long_description_content_type="text/markdown",
author='Badiboy',
url='https://github.com/Badiboy/pyCryptomusAPI',
packages=['pyCryptomusAPI'],
requires=['requests'],
license='MIT license',
keywords="Crypto Pay API Cryptomus",
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
],
)