Commit Graph

40 Commits

Author SHA1 Message Date
Dan Scott 7f68ea4992 Change install path for chipsec-manual.pdf
Signed-off-by: Dan Scott <dan.scott@intel.com>
2025-02-18 10:37:42 -08:00
Nathaniel Mitchell 024c37240c Include options/*.ini when installing using setup.py install
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-01-17 16:37:05 -08:00
Nathaniel Mitchell 5eaefb6e24 Add check for setuptools >=62.0.0
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-09-28 21:25:12 -07:00
Frinzell, Aaron 537caa4a81 Move from distutil for Python 3.12
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-08-07 16:37:40 -07:00
Jason Zhou 491b951f5b Add PCI filter Windows driver build integration
Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
2023-06-28 10:52:19 -07:00
Nathaniel Mitchell c1cdac49b3 Remove osx helper and driver
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-05-10 16:38:26 -07:00
brentholtsclaw 244d6c1355 Attempt to fix windows compiler error
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-05-10 08:22:39 -07:00
Nathaniel Mitchell 814995e345 Rename win7 driver/helper to windows
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-04-26 16:52:26 -07:00
brentholtsclaw d0038681db Add ability to build tianocompress with python
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2022-12-05 16:34:48 -08:00
Aaron Frinzell 7e633954c3 Update python and manual path in setup.py (#1402)
* Update python and manual path in setup.py

Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>

* Add https://chipsec.github.io link

Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-03-25 13:22:41 -05:00
Erik Bjorge 81083bca03 Flake8 Cleanup
- Remove unused imports
- Improve spacing of functions/methods for readability
- Indentation updates
- Exception expression updates

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2022-02-16 08:23:01 -08:00
Gabriel Kerneis 48f1e3b62c AMD Renoir XML config
Include an empty common.xml config as well, as a placeholder to move
common registers in the future.

Automatically generated from AMD public PPR documentation (with moderate
amount of manual cleanup).

Bug: #825
Signed-off-by: Gabriel Kerneis <gabriel.kerneis@ssi.gouv.fr>
2021-11-22 14:54:42 -08:00
Nathaniel Mitchell c8c14e21be Remove shebang from all but the entry points. Update ep to py3
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2021-08-12 08:27:33 -07:00
Federico Perez 1b36101c17 Make the setup not skip the decompression tools when running with --skip_driver 2020-12-15 15:27:27 -08:00
brentholtsclaw f7fe1be074 More whitespace cleanup
E231, E201, E226

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-07-31 13:46:13 -07:00
brentholtsclaw af7fa737ee Clean up indentation
E111

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-07-01 16:35:07 -07:00
brentholtsclaw 66f93f1b3d Modify linux helper get/set_affinity functions
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-30 11:12:23 -07:00
brentholtsclaw d339220226 Fix: Config files within setup.py install
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-08 10:53:40 -07:00
mbushkov 6a425e214c Do not build the driver when installing from a sdist-built package.
This PR changes sdist() command to include a special marker file that, when present, automatically sets skip_driver flag to True. This way, when installing from an sdist-produced distribution (i.e. from PyPI), no kernel driver is built. This is useful for cases when a project depends on chipsec's Python code (and thus would like to reference the dependency in its setup.py) but expects the kernel driver to be shipped separately.
2019-11-20 10:13:49 -08:00
Frinzell 6e35771cea Update Windows pywin32 requirements 2019-10-31 14:29:52 -07:00
BrentHoltsclaw b97905b73a Add support to use python build_ext -i command on windows
(assuming VS and WDK are installed)

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-07-23 14:01:50 -07:00
brentholtsclaw 99ad141f31 Fix case issue within chipsec_tools LZMA directory name
fixup setup.py for osx
2019-05-29 09:33:48 -07:00
BrentHoltsclaw 9eb2744917 Fix setup.py linux build 2019-05-23 14:46:09 -07:00
Richard Hughes 66a399dd0a Add the eXecute permission on the launchable binaries
This means on Linux you can just do ./chipsec_util.py rather than using the
Python binary to invoke it.
2019-05-15 18:20:39 -07:00
BrentHoltsclaw a3928c9cef Setup.py was not rebased correctly and lzma directory 2019-05-10 11:23:47 -07:00
BrentHoltsclaw ab2016af72 Fix up MacOS helper to support compress and decompress
also fixed up Windows and Linux helper to correctly call tianocompress with --uefi flag
2019-05-10 11:23:47 -07:00
BrentHoltsclaw 0725ced135 Build Script Improvements 2019-05-10 11:23:47 -07:00
Alex 6820651a9e fixed deb for amd64 and i386. cleanup chipsec_tools linux (#370) 2018-03-16 17:55:46 -07:00
Erik Bjorge ed73ac2e74 Updated install support for Windows
* Updated dependencies to use pypiwin32
* Added support to install RWE driver
2017-10-11 13:13:40 -07:00
abazhaniuk c073549f0f fix to setup.py: add compression to source package (#191) 2017-04-16 10:30:40 -10:00
johnloucaides 70abd3ad54 add decompress functionality to osx environment (#179) 2017-03-15 17:18:18 -07:00
abazhaniuk f12b035458 Ported efi_compressor from uefi-firmware-parser to chipsec_tools (#152)
* Ported efi_compressor from uefi-firmware-parser to chipsec_tools

* moved compression_source_files
2017-02-11 00:05:30 -08:00
abazhaniuk c377a72e28 Deb package (#135)
* merge

* Add Debian packaging

* cleanup

* Removed incorrect info into Copyright.

* One more: removed incorrect info in Copyright.
2017-01-06 12:57:13 -08:00
Thiébaud Weksteen a91d28b2e5 Add loading and building for OSX driver (#128) 2016-11-25 19:44:54 -08:00
Thiébaud Weksteen 9765775224 Use test_suite to run the tests (#119) 2016-11-07 17:56:24 -08:00
c7zero 8ee894b880 More generic handling of chipsec tools (#118)
* More generic handling of chipsec_tools

* file extension fix

* Installing chipsec-manual.pdf
2016-11-04 14:38:06 -07:00
Thiébaud Weksteen 63991da054 Improve build_ext (#115) 2016-11-03 15:27:24 -07:00
Thiébaud Weksteen 303b3c9822 Add --skip-driver option to setup.py (#113) 2016-10-26 00:02:53 -07:00
abazhaniuk 9e42ff337d add compression tools to python package (#111) 2016-10-25 14:01:27 -07:00
abazhaniuk 94fe7f02f1 change setup.py build driver by default. change root directory of chipsec. move WARNING.txt to chipsec. remove PKG-INFO (#107) 2016-10-18 18:19:42 -07:00