-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated documentation and repointed links to new repo location (#9)
- Loading branch information
1 parent
a9216db
commit aad0c86
Showing
2 changed files
with
23 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
''' | ||
RESTfly Package | ||
''' | ||
from setuptools import setup, find_packages | ||
|
||
with open('restfly/version.py', 'r') as vfile: | ||
exec(vfile.read()) | ||
with open('restfly/version.py', 'r') as vfile: # noqa PLW1514 | ||
exec(vfile.read()) # noqa PLW0122 | ||
|
||
long_description = ''' | ||
RESTfly: Simplifying API Libraries | ||
|
@@ -10,14 +13,16 @@ | |
**RESTfly** (pronounced restfully) is a framework for building libraries to | ||
easily interact with RESTful APIs. | ||
.. image:: https://travis-ci.org/SteveMcGrath/restfly.svg?branch=master | ||
:target: https://travis-ci.org/SteveMcGrath/restfly | ||
.. image:: https://travis-ci.org/librestfly/restfly.svg?branch=master | ||
:target: https://travis-ci.org/librestfly/restfly | ||
.. image:: https://img.shields.io/pypi/v/restfly.svg | ||
:target: https://pypi.org/project/restfly/ | ||
.. image:: https://img.shields.io/pypi/pyversions/restfly.svg | ||
.. image:: https://img.shields.io/pypi/dm/restfly.svg | ||
.. image:: https://img.shields.io/github/license/stevemcgrath/restfly.svg | ||
:target: https://github.com/SteveMcGrath/restfly/blob/master/LICENSE | ||
.. image:: https://img.shields.io/github/license/librestfly/restfly.svg | ||
:target: https://github.com/librestfly/restfly/blob/master/LICENSE | ||
.. image:: https://sonarcloud.io/api/project_badges/measure?project=librestfly_restfly&metric=alert_status | ||
:target: https://sonarcloud.io/summary/overall?id=librestfly_restfly | ||
.. image:: https://restfly.readthedocs.io/en/latest/_static/logo.png | ||
|
@@ -26,19 +31,19 @@ | |
interaction libraries for just about any RESTful API. With an emphasis on | ||
simplicity and readability of the resulting library code thats written, the | ||
idea here is provide something that is not only useful for folks to use, but | ||
can also serve as a reference implimentation of the given APIs. | ||
can also serve as a reference implementation of the given APIs. | ||
Please refer to the full documentation at https://restfly.readthedocs.io. | ||
''' | ||
''' # noqa E501 | ||
|
||
setup( | ||
name='restfly', | ||
version=VERSION, # noqa: F821 | ||
version=VERSION, # noqa: F821,PLE0602 | ||
description='A library to make API wrappers creation easier', | ||
author='Steve McGrath', | ||
long_description=long_description, | ||
author_email='[email protected]', | ||
url='https://github.com/stevemcgrath/restfly', | ||
url='https://github.com/librestfly/restfly', | ||
license='MIT', | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
|
@@ -53,7 +58,7 @@ | |
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
], | ||
keywords='tenable tenable_io securitycenter containersecurity', | ||
keywords='rest api library', | ||
packages=find_packages(exclude=['docs', 'tests']), | ||
install_requires=[ | ||
'requests>=2.26.0', | ||
|