-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
67 lines (57 loc) · 1.43 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
57
58
59
60
61
62
63
64
65
66
67
import os
import numpy as np
import src
from setuptools import setup, find_packages
from Cython.Build import cythonize
from Cython.Distutils import build_ext
from src.extra import utils
compiler_directives = {
'language_level': 3,
'cdivision': True,
'boundscheck': True,
'wraparound': False,
}
def readme():
path = os.path.join(
utils.get_abs_path('README.md')
)
with open(path) as f:
return f.read()
setup(
name='rin-bot',
author='mkbeh',
description='Bitshares arbitry bot.',
long_description=readme(),
long_description_content_type="text/markdown",
classifiers=[
'License :: MIT License',
'Programming Language :: Python :: 3.7',
],
version=src.__version__,
license='MIT',
platforms=['Linux'],
install_requires=[
'aiofiles==0.4.0',
'aiohttp==3.7.4',
'beautifulsoup4==4.7.1',
'Cython==0.29.3',
'lxml==4.6.3',
'uvloop==0.12.1',
'numpy==1.16.0',
'ujson==1.35',
'markdown',
],
include_package_data=True,
packages=find_packages(),
package_data={
'src': ['*.md', 'LICENSE']
},
entry_points={
'console_scripts':
['rin-bot = src.rin:main']
},
zip_save=False,
include_dirs=[np.get_include()],
# ext_modules=cythonize(['src/*/*.pyx'], compiler_directives=compiler_directives),
# cmdclass={'build_ext': build_ext},
)