-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fde25c6
commit 1b38674
Showing
9 changed files
with
63 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Contributing | ||
|
||
pysqs-extended-client uses GitHub to manage reviews of pull requests. | ||
|
||
* If you have a trivial fix or improvement, go ahead and create a pull request, | ||
addressing (with `@...`) the maintainer of this repository (see | ||
[MAINTAINERS](https://github.com/timothymugayi/boto3-sqs-extended-client-lib/graphs/contributors)). | ||
|
||
* If you plan to do something more involved, first discuss your ideas on | ||
[by creating an issue]. This will avoid unnecessary work and surely give you and | ||
us a good deal of inspiration. | ||
|
||
## Testing | ||
|
||
Submitted changes should pass the current tests, and be covered by new test | ||
cases when adding functionality. | ||
|
||
* Run the tests locally using [tox] which executes the full suite on all | ||
supported Python versions installed. | ||
|
||
* Each pull request is gated using [Travis CI] with the results linked on the | ||
github page. This must pass before the change can land, note pushing a new | ||
change will trigger a retest. | ||
|
||
## Style | ||
|
||
* Code style should follow [PEP 8] generally, and can be checked by running: | ||
``tox -e flake8``. | ||
|
||
* Import statements can be automatically formatted using [isort]. | ||
|
||
[isort]: https://pypi.org/project/isort/ | ||
[PEP 8]: https://www.python.org/dev/peps/pep-0008/ | ||
[tox]: https://tox.readthedocs.io/en/latest/ | ||
[Travis CI]: https://docs.travis-ci.com/ |
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
__title__ = "pysqs_client_extended" | ||
__version__ = "0.0.1" |
File renamed without changes.
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,14 +1,26 @@ | ||
import os | ||
import re | ||
|
||
from io import open as io_open | ||
from setuptools import setup, find_packages, Command | ||
|
||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
|
||
base_path = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
|
||
def readall(*args): | ||
with io_open(os.path.join(base_path, *args), encoding="utf-8") as fp: | ||
return fp.read() | ||
|
||
|
||
metadata = dict( | ||
re.findall(r"""__([a-z]+)__ = "([^"]+)""", readall("pysqs_extended_client", "__init__.py")) | ||
) | ||
|
||
|
||
# What packages are required for this module to be executed? | ||
try: | ||
with open(os.path.join(base_path, "requirements.txt"), encoding="utf-8") as f: | ||
|
@@ -20,17 +32,20 @@ | |
class CleanCommand(Command): | ||
"""Custom clean command to tidy up the project root.""" | ||
user_options = [] | ||
|
||
def initialize_options(self): | ||
pass | ||
|
||
def finalize_options(self): | ||
pass | ||
|
||
def run(self): | ||
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info') | ||
os.system("rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info") | ||
|
||
|
||
setup( | ||
name="boto3-sqs-extended-client", | ||
version="0.0.1", | ||
name="pysqs-extended-client", | ||
version=metadata["version"], | ||
author="timothy.mugayi", | ||
author_email="[email protected]", | ||
description="Amazon SQS Extended Client Library for Python for sending large payloads that exceed sqs limitations via S3", | ||
|
@@ -58,8 +73,8 @@ def run(self): | |
], | ||
zip_safe=True, | ||
install_requires=required_packages, | ||
keywords='Amazon SQS Extended Client Library for Python', | ||
keywords = ['SQS client python', 'SQS client', 'sqs extended client', 'aws sqs client', 'boto sqs client', 'large message sqs', 'sqs s3', 'sqs'], | ||
cmdclass={ | ||
'clean': CleanCommand, | ||
} | ||
) | ||
) |
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
tests/test_sqs_client.py → tests/test_pysqs_extended_client.py
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