File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 99.cache
1010Pipfile.lock
1111* .egg-info
12+ dist
13+ build
Original file line number Diff line number Diff line change 11from .wrapper import scuttle
22
3- __version__ = "0.0.1 "
3+ __version__ = "0.1.0 "
Original file line number Diff line number Diff line change 55
66from scuttle import __version__
77
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+
813setup (
914 name = 'scuttle' ,
1015 version = __version__ ,
1722 author = "Ross Williams" ,
1823 author_email = "ross@rossjrw.com" ,
1924 description = "Python wrapper for SCUTTLE API." ,
25+ long_description = long_description ,
26+ long_description_content_type = 'text/markdown' ,
2027 install_requires = [
2128 "requests"
2229 ]
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ def test_page():
3636 page_id = pages [0 ]['id' ]
3737 assert wiki .page_by_id (page_id )['id' ] == page_id
3838 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"
3940 if len (votes := wiki .page_votes (page_id )) > 0 :
4041 assert isinstance (votes [0 ]['vote' ], int )
4142 if len (tags := wiki .page_tags (page_id )) > 0 :
You can’t perform that action at this time.
0 commit comments