Skip to content

Commit 27211cd

Browse files
committed
Merge branch 'updatePackaging' into nullforce
2 parents 8249900 + dd378a1 commit 27211cd

3 files changed

Lines changed: 39 additions & 12 deletions

File tree

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Python bindings for Derpibooru's API
44

55
License: **Simplified BSD License**
66

7-
Version: **0.7**
7+
Version: **0.8**
88

99
## Features
1010

@@ -18,6 +18,13 @@ Version: **0.7**
1818
- python2.7 or newer
1919
- requests
2020

21+
## About this Fork
22+
23+
This is a fork of the DerPyBooru package; it is meant to be a drop in replacement
24+
for the modules in that package.
25+
26+
To use, use `derpybooru_nullforce` where you see `derpybooru` used below.
27+
2128
## How to install
2229

2330
### Python 2.7
@@ -27,7 +34,7 @@ Version: **0.7**
2734
### Python 3.x
2835

2936
$ pip3 install derpybooru
30-
37+
3138
## Checking documentation
3239

3340
### Python 2.7
@@ -112,6 +119,7 @@ q = {
112119

113120
wallpapers = [image for image in Search().query(*q)]
114121
```
122+
115123
### Getting the latest images from a watchlist
116124

117125
```python
@@ -123,4 +131,10 @@ key = "your_api_key"
123131
for post in Search().key(key).watched(user.ONLY):
124132
id_number, score, tags = post.id, post.score, ", ".join(post.tags)
125133
print("#{} - score: {:>3} - {}".format(id_number, score, tags))
134+
```
135+
136+
## Changelog
137+
138+
**0.8.0**
126139

140+
* Updated sort to include *wilson* and *width*

derpibooru/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"""
2020

2121
__title__ = "DerPyBooru"
22-
__version__ = "0.7.2"
22+
__version__ = "0.8.0"
2323
__author__ = "Joshua Stone"
2424
__license__ = "Simplified BSD Licence"
25-
__copyright__ = "Copyright (c) 2014, Joshua Stone"
25+
__copyright__ = "Copyright (c) 2014-2018, Joshua Stone, Nullforce"
2626

2727
from .search import Search
2828
from .query import query

setup.py

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,33 @@
11
#!/usr/bin/env python
22

3+
from os import path
34
from setuptools import setup
45
from setuptools import find_packages
56

7+
here = path.abspath(path.dirname(__file__))
8+
9+
# Get the long description from the README file
10+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
11+
long_description = f.read()
12+
613
setup(
7-
name = "DerPyBooru",
14+
name = "DerPyBooru_Nullforce",
15+
# Versions should comply with PEP 440:
16+
# https://www.python.org/dev/peps/pep-0440/
17+
version = "0.8.0",
818
description = "Python bindings for Derpibooru's API",
9-
url = "https://github.com/joshua-stone/DerPyBooru",
10-
version = "0.7.2",
11-
author = "Joshua Stone",
12-
author_email = "joshua.gage.stone@gmail.com",
19+
long_description = long_description,
20+
long_description_content_type = "text/markdown",
21+
url = "https://github.com/nullforce-forks/NF-DerPyBooru",
22+
author = "Nullforce",
23+
author_email = "glenngit@nullforce.com",
1324
license = "Simplified BSD License",
1425
platforms = ["any"],
15-
packages = find_packages(),
26+
packages = find_packages(exclude=["tests"]),
1627
install_requires = ["requests"],
1728
include_package_data = True,
18-
download_url = "https://github.com/joshua-stone/DerPyBooru/tarball/0.7.2",
29+
#download_url = "https://github.com/joshua-stone/DerPyBooru/tarball/0.7.2",
30+
# For a list of valid classifiers, see https://pypi.org/classifiers/
1931
classifiers = [
2032
"Development Status :: 4 - Beta",
2133
"Intended Audience :: Developers",
@@ -24,5 +36,6 @@
2436
"Topic :: Software Development :: Libraries :: Python Modules",
2537
"Programming Language :: Python :: 2.7",
2638
"Programming Language :: Python :: 3"
27-
]
39+
],
40+
keywords = "derpibooru ponies pony mlp"
2841
)

0 commit comments

Comments
 (0)