Skip to content

Commit

Permalink
1.1.5 public to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
IZAY01 authored and IZAY01 committed Feb 25, 2021
1 parent f606136 commit 3eb712e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
4 changes: 4 additions & 0 deletions LibcSearcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ def __iter__(self) :
else :
return iter([ self.the_libc['id'] ])


def __bool__(self) :
return (self.the_libc is not None) or (self.libc_list != [])


def __repr__(self) :
self.pre_query_libc()
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@

## Installation

#### 使用 PIP

```shell
sudo pip3 install LibcSearcher
```

更新

```python
sudo pip3 install -U LibcSearcher
```

#### 使用本仓库

```shell
git clone https://github.com/IZAY01/LibcSearcher.git
cd LibcSearcher
Expand Down
17 changes: 15 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
from setuptools import find_packages, setup
from os import path as os_path

this_directory = os_path.abspath(os_path.dirname(__file__))

def read_file(filename):
with open(os_path.join(this_directory, filename), encoding='utf-8') as f:
long_description = f.read()
return long_description

setup(
name="LibcSearcher",
version="1.0",
version="1.1.5",
description="Python wrapper for libc-database.",
author="IZAY01",
author_email="[email protected]",
platforms=["any"],
license="BSD",
url="https://github.com/IZAY01/LibcSearcher",
packages=find_packages(), )
long_description=read_file('README.md'),
long_description_content_type="text/markdown",
install_requires=[
'requests',
],
packages=find_packages(), )

0 comments on commit 3eb712e

Please sign in to comment.