forked from matthew-brett/delocate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (65 loc) · 2.06 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env python
""" setup script for delocate package """
import codecs
from os.path import join as pjoin
import versioneer
from setuptools import find_packages, setup
setup(
name="delocate",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Move macOS dynamic libraries into package",
author="Matthew Brett",
maintainer="Matthew Brett",
author_email="[email protected]",
url="http://github.com/matthew-brett/delocate",
packages=find_packages(),
python_requires=">=3.6",
install_requires=[
"machomachomangler; sys_platform == 'win32'",
"bindepend; sys_platform == 'win32'",
"wheel",
"typing_extensions",
],
package_data={
"delocate.tests": [
pjoin("data", "*.dylib"),
pjoin("data", "*.txt"),
pjoin("data", "*.bin"),
pjoin("data", "*.py"),
pjoin("data", "liba.a"),
pjoin("data", "a.o"),
pjoin("data", "*.whl"),
pjoin("data", "test-lib"),
pjoin("data", "*patch"),
pjoin("data", "make_libs.sh"),
pjoin("data", "icon.ico"),
],
"delocate": ["py.typed"],
},
entry_points={
"console_scripts": [
"delocate-{} = delocate.cmd.delocate_{}:main".format(name, name)
for name in (
"addplat",
"fuse",
"listdeps",
"patch",
"path",
"wheel",
)
]
},
license="BSD license",
classifiers=[
"Intended Audience :: Developers",
"Environment :: Console",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Operating System :: MacOS :: MacOS X",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Build Tools",
],
long_description=codecs.open("README.rst", "r", encoding="utf-8").read(),
)