forked from conda/menuinst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (33 loc) · 1.13 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
# Copyright (c) 2008-2012 by Enthought, Inc.
# Copyright (c) 2013 Continuum Analytics, Inc.
# All rights reserved.
import sys
from distutils.core import Extension, setup
import versioneer
if sys.platform == "win32":
extensions = [Extension(
"menuinst.winshortcut",
sources=["menuinst/winshortcut.cpp"],
include_dirs=["menuinst"],
libraries=["comctl32", "kernel32", "user32", "gdi32", "winspool",
"comdlg32", "advapi32", "shell32", "ole32", "oleaut32",
"uuid", "odbc32", "odbccp32"]
)]
install_requires = ['pywin32']
else:
extensions = []
install_requires = []
setup(
name = "menuinst",
url = "https://github.com/ContinuumIO/menuinst",
version = versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description = "cross platform install of menu items",
long_description = open('README.rst').read(),
ext_modules = extensions,
include_package_data = True,
install_requires = install_requires,
package_data = {"menuinst" : ["*.icns"]},
license = "BSD",
packages = ['menuinst'],
)