File tree 4 files changed +11
-1
lines changed
4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 9
9
.cache
10
10
Pipfile.lock
11
11
* .egg-info
12
+ dist
13
+ build
Original file line number Diff line number Diff line change 1
1
from .wrapper import scuttle
2
2
3
- __version__ = "0.0.1 "
3
+ __version__ = "0.1.0 "
Original file line number Diff line number Diff line change 5
5
6
6
from scuttle import __version__
7
7
8
+ from os import path
9
+ this_directory = path .abspath (path .dirname (__file__ ))
10
+ with open (path .join (this_directory , 'README.md' ), encoding = 'utf-8' ) as f :
11
+ long_description = f .read ()
12
+
8
13
setup (
9
14
name = 'scuttle' ,
10
15
version = __version__ ,
17
22
author = "Ross Williams" ,
18
23
author_email = "ross@rossjrw.com" ,
19
24
description = "Python wrapper for SCUTTLE API." ,
25
+ long_description = long_description ,
26
+ long_description_content_type = 'text/markdown' ,
20
27
install_requires = [
21
28
"requests"
22
29
]
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ def test_page():
36
36
page_id = pages [0 ]['id' ]
37
37
assert wiki .page_by_id (page_id )['id' ] == page_id
38
38
assert wiki .page_by_slug ("scp-001" )['metadata' ]['wikidot_metadata' ]['fullname' ] == "scp-001"
39
+ assert wiki .page_by_slug ("component:ar-theme" )['metadata' ]['wikidot_metadata' ]['created_by' ] == "Croquembouche"
39
40
if len (votes := wiki .page_votes (page_id )) > 0 :
40
41
assert isinstance (votes [0 ]['vote' ], int )
41
42
if len (tags := wiki .page_tags (page_id )) > 0 :
You can’t perform that action at this time.
0 commit comments