From a96794f4b9a92f71adbd5334a8558d7ed69cc836 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Fri, 8 Dec 2017 17:31:54 +0100 Subject: [PATCH] scaffold --- .codeclimate.yml | 20 ++++++++++++++++++++ .coveragerc | 6 ++++++ .gitignore | 1 + .travis.yml | 11 +++++++++++ LICENSE | 2 +- README.md | 10 ++++++++++ firanka/__init__.py | 0 setup.cfg | 41 +++++++++++++++++++++++++++++++++++++++++ setup.py | 13 +++++++++++++ tests/__init__.py | 0 10 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 .codeclimate.yml create mode 100644 .coveragerc create mode 100644 .travis.yml create mode 100644 README.md create mode 100644 firanka/__init__.py create mode 100644 setup.cfg create mode 100644 setup.py create mode 100644 tests/__init__.py diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..306cd96 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,20 @@ +engines: + duplication: + enabled: true + config: + languages: + python: + + fixme: + enabled: true + markdownlint: + enabled: true + pep8: + enabled: true + radon: + enabled: true +exclude_paths: +- tests/** +ratings: + paths: + - firanka/** \ No newline at end of file diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..8e25ea5 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,6 @@ +[run] +branch=1 +include= + firanka/* +omit= + tests/* diff --git a/.gitignore b/.gitignore index 7bbc71c..25c1a2d 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ env/ build/ develop-eggs/ dist/ +.idea/ downloads/ eggs/ .eggs/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9243244 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: python +python: + - "2.7" + - "3.3" + - "3.4" + - "3.5" + - "pypy" +script: + - python setup.py nosetests +after_success: + - codeclimate-test-reporter diff --git a/LICENSE b/LICENSE index b9090fc..240f2a9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 SMOK +Copyright (c) 2017 P.W. DMS s.c. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md new file mode 100644 index 0000000..f2899be --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# firanka +[](https://travis-ci.org/smok-serwis/firanka) +[](https://codeclimate.com/github/smok-serwis/firanka/coverage) +[](https://codeclimate.com/github/smok-serwis/firanka) +[](https://codeclimate.com/github/smok-serwis/firanka) +[](https://badge.fury.io/py/CoolAMQP) +[]() +[]() +[]() +[]() diff --git a/firanka/__init__.py b/firanka/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..d2cbbbc --- /dev/null +++ b/setup.cfg @@ -0,0 +1,41 @@ +[metadata] +description-file = README.md +name = firanka +version = 0.1.1a1 +license = MIT License +classifiers = + Programming Language :: Python + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3.3 + Programming Language :: Python :: 3.4 + Programming Language :: Python :: 3.5 + Programming Language :: Python :: Implementation :: CPython + Programming Language :: Python :: Implementation :: PyPy + Operating System :: OS Independent + Development Status :: Development Status :: 1 - Planning + License :: OSI Approved :: MIT License + Topic :: Software Development :: Libraries + Intended Audience :: Developers + Topic :: Software Development :: Libraries :: Python Modules +description = Very fast pure-Python AMQP client +author = DMS Serwis s.c. +author_email = piotrm@dms-serwis.pl +url = https://github.com/smok-serwis/firanka + +[pycodestyle] +max-line-length=80 + +[bdist_wheel] +universal=1 + +[nosetests] +verbosity=1 +detailed-errors=1 +with-coverage=1 + +[isort] +add_imports = + from __future__ import absolute_import + from __future__ import division + from __future__ import print_function + from __future__ import unicode_literals \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..c156f4a --- /dev/null +++ b/setup.py @@ -0,0 +1,13 @@ +# coding=UTF-8 +from setuptools import setup, find_packages + +from sai import __version__ + +setup( + version=__version__, + packages=find_packages(exclude=['tests.*', 'tests']), + python_requires='==2.7.*', + tests_require=['nose', 'mock', 'coverage'], + test_suite='nose.collector', + zip_safe=False +) diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 -- GitLab