forked from conda/menuinst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (30 loc) · 826 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
31
32
33
34
# Copyright (c) 2008-2012 by Enthought, Inc.
# Copyright (c) 2013 Continuum Analytics, Inc.
# All rights reserved.
import sys
from setuptools import Extension, setup
extensions = []
if sys.platform == "win32":
extensions.append(
Extension(
"menuinst.platforms.win_utils.winshortcut",
sources=["src/winshortcut.cpp"],
include_dirs=["src/"],
libraries=[
"comctl32",
"kernel32",
"user32",
"gdi32",
"winspool",
"comdlg32",
"advapi32",
"shell32",
"ole32",
"oleaut32",
"uuid",
"odbc32",
"odbccp32",
],
)
)
setup(ext_modules=extensions)