-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (38 loc) · 1.38 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
import platform
from setuptools import setup
if platform.system() == "Windows":
setup(
name="intermezzo",
version="0.1.0",
description="A library for creating cross-platform text-based interfaces using termbox-go.",
long_description="",
url="https://github.com/imdaveho/intermezzo",
author="Dave Ho",
author_email="imdaveho@gmail.com",
license="MIT",
classifiers=[],
packages=["intermezzo"],
package_data={"intermezzo": ["build/*/*.dll"]},
keywords="termbox tui terminal command-line",
install_requires=["cffi>=1.10.0"],
cffi_modules=["intermezzo/build/build_ffi_win.py:ffi"],
setup_requires=["cffi>=1.10.0"],
)
else:
setup(
name="intermezzo",
version="0.1.0",
description="A library for creating cross-platform text-based interfaces using termbox-go.",
long_description="",
url="https://github.com/imdaveho/intermezzo",
author="Dave Ho",
author_email="imdaveho@gmail.com",
license="MIT",
classifiers=[],
packages=["intermezzo"],
package_data={"intermezzo": ["build/*/*.so"]},
keywords="termbox tui terminal command-line",
install_requires=["cffi>=1.10.0"],
cffi_modules=["intermezzo/build/build_ffi_nix.py:ffi"],
setup_requires=["cffi>=1.10.0"],
)