-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (41 loc) · 1.05 KB
/
setup.py
File metadata and controls
46 lines (41 loc) · 1.05 KB
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
import os
import sys
import platform
from setuptools import find_packages
from skbuild import setup
# Require pytest-runner only when running tests
pytest_runner = (['pytest-runner>=2.0,<3dev']
if any(arg in sys.argv for arg in ('pytest', 'test'))
else [])
setup_requires = pytest_runner
data_files = [
# ('lib',['src/tip/tip.so']),
]
version = platform.python_version_tuple()
version = '%s.%s' % (version[0], version[1])
setup(
name="tip",
version="0.3.0",
description="TIP Binding Project",
author='learnforpractice',
license="MIT",
packages=['tip'],
package_dir={'tip': 'pysrc'},
package_data={'tip': []},
data_files = data_files,
scripts=[],
install_requires=[
"pycparser>=2.19",
"pycryptodome>=3.7.2",
"PyJWT>=2.1.0",
"python-dateutil>=2.7.5",
"requests>=2.21.0",
"websockets>=9.1",
"httpx",
"base58",
"toml"
],
tests_require=['pytest'],
setup_requires=setup_requires,
include_package_data=True
)