diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000000000000000000000000000000000000..306cd96368ab3e378a86786e13751dbf60142d59 --- /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 0000000000000000000000000000000000000000..8e25ea551bfbbd3773ed6160a50e3de09f88cffa --- /dev/null +++ b/.coveragerc @@ -0,0 +1,6 @@ +[run] +branch=1 +include= + firanka/* +omit= + tests/* diff --git a/.gitignore b/.gitignore index 7bbc71c09205c78d790739d246bbe4f9f1881c17..25c1a2d13cfc34fe03c69ffb1052cd0e84837ba4 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 0000000000000000000000000000000000000000..9243244142003c5842a44a9f0b62b6e6e4217f1f --- /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 b9090fcf11dafcfaa10850c8ef6927c35e84c6da..240f2a955780dbb8021599db16457b1763ddbde7 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 0000000000000000000000000000000000000000..f2899be876981709da97486495707befbc82400e --- /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 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000000000000000000000000000000000000..d2cbbbcc5d699a172660ca934de1d459df1c3e13 --- /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 0000000000000000000000000000000000000000..c156f4add886dc9d41019da3c110c1e1c35561ab --- /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 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391