From 083bbbc3f52e9e6e208b5500d96e1056fad94635 Mon Sep 17 00:00:00 2001 From: Ivan Gotovchits Date: Thu, 25 Aug 2016 16:54:56 -0400 Subject: [PATCH] updated meta information and instructions --- README.md | 22 ++++++++++++++++++++-- setup.py | 17 +++++++++++++++-- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a8b9be6..1d07001 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,32 @@ BAP python bindings Install python bindings with pip: ```bash -$ pip install git+git://github.com/BinaryAnalysisPlatform/bap-python.git +$ pip install bap ``` Alternatively you can just copy paste files into your project, or clone it with git-subtree, or whatever... + +## Installing low-level bindings + An optional low-level interface, called [rpc] depends on requests, so -install [requests] package from pip and `bap-server` from opam. +install [requests] package from pip and `bap-server` from opam: + +```bash +$ pip install bap[rpc] +$ opam install bap +``` + +## Installing development version + +You can also install directly from github: + +```bash +pip install git+git://github.com/BinaryAnalysisPlatform/bap-python.git +```` + +# Using ```python >>> import bap diff --git a/setup.py b/setup.py index f3d50e8..4bffee5 100644 --- a/setup.py +++ b/setup.py @@ -4,10 +4,23 @@ setup ( name = 'bap', - version = '1.0.0~alpha', + version = '1.0.0', + description = 'Python bindings to Binary Analysis Platform (BAP)', + author = 'BAP Team', + url = 'https://github.com/BinaryAnalysisPlatform/bap-python', + maintainer = 'Ivan Gotovchits', + maintainer_email = 'ivg@ieee.org', + license = 'MIT', package_dir = {'bap' : 'src'}, packages = ['bap'], extras_require = { 'rpc' : ['requests'] - } + }, + + classifiers=[ + 'Development Status :: 3 - Alpha', + 'License :: OSI Approved :: MIT License', + 'Topic :: Software Development :: Disassemblers', + 'Topic :: Security' + ] )