Skip to content

A repo with workarounds for integrating pipy archives with the bazel build system.

License

Notifications You must be signed in to change notification settings

mihaibivol/bazel_pipy_rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rules for external python packages in bazel.

See WORKSPACE for defining external libraries

See demo/third_party/BUILD for defining python libraries based on them

See demo/src/app.py for imports that hack sys.path for loading external libraries.

See demo/src/bundle_app.py for loading multiple external deps using a single rule.

Future plans:

  • virtualenv_bin and virtualenv_test targets. Easy to use, depending only on pip
  • Speak with bazel devs for md5 support in new_http_archive
  • Speak with bazel devs for getting eggs into runfiles

Limitations:

  • The build is reproductible but is not portable, as the loader libs wil work with local absolute paths.

About

A repo with workarounds for integrating pipy archives with the bazel build system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages