Bet4
abefcb2f89
Remove using of distutils ( #1964 )
...
* Remove using of distutils
* Upgrade setuptools to fix CI
* Use Python 3.7 in build_wheel.sh
2024-06-12 14:45:23 +08:00
Nguyễn Anh Khoa
38091b3046
Add unicorn_py3 folder to setup.py ( #1942 )
...
* Add unicorn_py3 folder to setup.py
* Run sample in CI
* Fix pip install & py2 breakage
---------
Co-authored-by: mio <mio@lazym.io>
2024-04-28 00:11:05 +08:00
lazymio
ba92f79c9e
Merge pull request #1823 from unicorn-engine/restore-py2
...
[RFC] Restore py2 compatibility by using 2 files
2024-03-08 15:12:24 +08:00
Matheus C. França
4fb4b3e4b0
Zig binding
...
* zig binding - sample added
* zig build CI
* split mingw (shared/static) CI/CD
* unicorn log added
* build C/C++ samples
2023-08-04 11:24:00 -03:00
mio
d6d1af243f
Specify the source directory explicitly
2023-06-28 16:40:17 +08:00
Nguyen Anh Quynh
6e9c6aea5f
bump version to 2.0.2
2023-02-04 13:00:58 +08:00
Dominik Maier
549f34f098
Fix warning for ./setup.py ( #1756 )
2023-01-06 01:10:09 +08:00
mio
e9c1c17f6d
Fix endianess detection
2022-11-16 15:16:49 +01:00
Nguyen Anh Quynh
a16f4ff911
python: update list of supported archs in setup.py
2022-11-02 00:28:40 +08:00
mio
bdd9f4fa9a
Bump version to 2.0.1
2022-11-01 10:06:22 +01:00
mio
7fb6264d02
Also copy glib_compat and samples
2022-09-25 18:46:04 +02:00
mio
97b2e44c77
Also copy cmake files
2022-09-25 18:43:09 +02:00
mio
e76b2db434
Support build in a sdist
2022-09-25 18:09:41 +02:00
lazymio
e5126f17f1
Bump version in bindings
2022-05-23 12:34:09 +02:00
lazymio
64050aafb1
Fix python setup.py on macOS
2022-05-07 15:48:28 +02:00
lazymio
a54dfda14d
Depend on SONAME dylib
2022-05-06 14:47:14 +02:00
lazymio
8fec2f6992
Fetch static archive in the root dir
2022-05-03 11:11:29 +02:00
lazymio
8fd9ee3dd0
Bump unicorn version
2022-04-17 16:47:37 +02:00
lazymio
16e9efa4f5
Bump version
2022-02-13 09:56:10 +01:00
mio
c84dbac9a8
Rename build dir for python bindings
2022-01-18 20:15:28 +01:00
mio
28e791a37f
Add debug tracing feature
...
It's disabled by default, use -DUNICORN_TRACER=on to enable it
2022-01-18 19:35:43 +01:00
lazymio
10d88e89a5
Fix uc_version and bump again
2021-11-25 18:19:46 +01:00
lazymio
9a4d5d0be8
Bump bindings version to 2.0.0-rc5
2021-11-25 14:29:41 +01:00
mid-kid
2d665aa752
Accomodate for setting a different CMAKE_GENERATOR in the environment.
...
This makes sure the right build utility is called, depending on the
value of the CMAKE_GENERATOR environment.
2021-11-13 13:34:11 +01:00
lazymio
0714fb5760
Bump bindings version
2021-11-09 00:23:19 +01:00
mio
8f7ecfe48b
Support configure threads by environment variable
2021-10-10 23:46:22 +02:00
lazymio
ad3c0a5b32
Bump python bindings version
2021-10-06 12:37:13 +02:00
mio
2474f9513b
Sync docs from wiki and remove cmake.sh
2021-10-05 15:26:13 +02:00
mio
5668fd9c42
Set zip_safe and is_pure to False and trigger another build
2021-10-05 15:11:59 +02:00
mio
59deed7484
Simply the setup.py
2021-10-05 14:46:04 +02:00
mio
aff9c9dc48
Clean debug print and make it compatible with python3.5
2021-10-05 13:48:26 +02:00
mio
e1204d8977
Specify the content type
2021-10-04 18:09:44 +02:00
mio
ebb468d042
Fix msvc build
2021-10-04 10:44:30 +02:00
Nguyen Anh Quynh
aaaea14214
import Unicorn2
2021-10-03 22:14:44 +08:00
chfl4gs
c03f50f76a
Fixing installation on cygwin, Travis-ci cache adjustment ( #1322 )
...
* Adding Travis-CI cmake static
* fix 64-bit fstenv (#1300 )
* fix 64-bit fstenv
* fix fstenv
* safe_zip to false and travis adjustment
* Fixed zip_safe and cygwin setup
Co-authored-by: liangjs <761232680@qq.com>
2020-09-10 10:01:13 +08:00
chfl4gs
9288b4a845
adding pypi workflow ( #1280 )
...
* adding pypi workflow
* PyPI distribution packages workflow
2020-06-06 12:53:31 +08:00
Nguyen Anh Quynh
99be837364
python: add long description to setup.py
2020-05-29 11:56:24 +08:00
Pedro Tammela
18aa2627f7
fix binding install on python2 ( #1231 )
2020-04-24 17:15:12 +08:00
Saagar Jha
d69ebfa55c
Make it easier to link against libunicorn on macOS ( #1195 )
...
Adding @rpath to the install name to make it possible to link against
the library without modifying it with install_name_tool. Copying both
the versioned and unversioned dylibs simplifies linking.
2020-02-12 14:16:34 +08:00
Audrey Dutcher
3cea38bff7
restrict msbuild to win32 platform ( #1172 )
2019-11-20 00:34:56 +08:00
Audrey Dutcher
fd3ccb2ef7
Python packaging logic for msvc build ( #1151 )
...
* remove bundling of DLLs we no longer need!
* Add logic for building with msvc in python setup
* Also include the msvc build scripts with sdist
2019-10-10 22:00:42 +08:00
AeonLucid
c46e745338
Fixes #1143 ( #1144 )
2019-09-16 01:58:08 +08:00
Andrew Dutcher
12642c2555
Cleanups/fixes for the library issue conglomerate ( #897 )
...
* Python: Disable distribution of static library on linux and macos; add environment variable LIBUNICORN_PATH to let user specify location of native library; prevent build of native library if this option is enabled; closes #869
* Python: Update README.TXT to describe how to manage the building and usage of the native library
2017-09-24 22:33:01 +08:00
Andrew Dutcher
744c34261f
Don't error during sdist if config-host.mak doesn't exist ( #846 )
2017-05-31 11:36:33 +08:00
Nguyen Anh Quynh
5a1e86d46b
update Windows DLL dependency
2017-01-22 00:39:21 +08:00
Andrew Dutcher
7bd4d62dcb
Copy prebuilt static library if available. Disallow uploads from builds that fail to provide the static library
2017-01-04 06:45:18 -08:00
Andrew Dutcher
5d8934f5a9
Python: Automatically conform to PEP440 for version numbers
2017-01-04 05:51:55 -08:00
Nguyen Anh Quynh
9a79d6fe9f
Merge branch 'master' into noglib2
2016-12-27 16:48:23 +08:00
Andrew Dutcher
bf2cd79a4d
Windows: export a static lib that can be used outside of mingw ( #699 )
...
* Windows: export a static lib that can be used outside of mingw
* Add comments to windows_export.bat
2016-12-27 16:30:07 +08:00
Chris Eagle
e46545f722
remove glib dependency by provide compatible replacements
2016-12-18 14:56:58 -08:00