-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
49 lines (43 loc) · 1.19 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
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/mixin/mixin.so']),
]
data = []
if platform.system() == 'Windows':
data.append("mixin.dll")
version = platform.python_version_tuple()
version = '%s.%s' % (version[0], version[1])
setup(
name="mixin-python",
version="0.2.7",
description="Mixin Binding Project",
author='learnforpractice',
url="https://github.com/learnforpractice/mixin-python",
license="GPL-3.0",
packages=['pymixin'],
package_dir={'pymixin': 'pysrc'},
package_data={'pymixin': data},
data_files = data_files,
scripts=[],
install_requires=[
"pycparser>=2.19",
"PyJWT>=2.4.0",
"python-dateutil>=2.7.5",
"requests>=2.21.0",
"websockets>=9.1",
"cryptography>=3.4.7",
"httpx"
],
tests_require=['pytest'],
setup_requires=setup_requires,
include_package_data=True
)