Skip to content
Snippets Groups Projects
Commit 03e44821 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

inited writing 2.0

parent 83cd7a90
No related branches found
No related tags found
No related merge requests found
engines:
duplication:
enabled: true
config:
languages:
python:
fixme:
enabled: true
markdownlint:
enabled: true
pep8:
enabled: true
radon:
enabled: true
exclude_paths:
- tests/**
ratings:
paths:
- satella/**
[run]
branch=1
include=satella/*
omit=tests/*
...@@ -13,7 +13,7 @@ tmp/ ...@@ -13,7 +13,7 @@ tmp/
*.bak *.bak
*.swp *.swp
*~.nib *~.nib
.idea/ .idea/**
local.properties local.properties
.classpath .classpath
.settings/ .settings/
......
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
cache: pip
script:
- nosetests --with-coverage
install:
- pip install coverage
- pip install codeclimate-test-reporter
- pip install -r requirements.txt
Copyright (c) 2013-2014 Piotr Maślanka Copyright (c) 2013-2017 Piotr Maślanka
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
......
satella
========
[![Build Status](https://travis-ci.org/smok-serwis/satella.svg)](https://travis-ci.org/smok-serwis/satella)
[![Code Climate](https://codeclimate.com/github/smok-serwis/satella/badges/gpa.svg)](https://codeclimate.com/github/smok-serwis/satella)
[![Test Coverage](https://codeclimate.com/github/smok-serwis/satella/badges/coverage.svg)](https://codeclimate.com/github/smok-serwis/satella/coverage)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()
[![PyPI](https://img.shields.io/pypi/pyversions/satella.svg)]()
[![PyPI](https://img.shields.io/pypi/implementation/satella.svg)]()
**satella is currently undergoing a major rework. See branch satella2 for details.
This WILL break compatibility.**
**satella 1.0 remain in maintenance mode**
Satella is a Python library for writing server applications, especially those dealing with Satella is a Python library for writing server applications, especially those dealing with
small network-oriented tasks. Over time it will constitute a reasonably large library with useful things. small network-oriented tasks. Over time it will constitute a reasonably large library with useful things.
......
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "debian/contrib-jessie64"
# Rabbit MQ management
config.vm.network "forwarded_port", guest: 15672, host: 15672
# HTTP for viewing coverage reports
config.vm.network "forwarded_port", guest: 80, host: 8765
config.vm.provision "shell", inline: <<-SHELL
apt-get update
# Python
apt-get install -y htop curl python python-setuptools python-pip python-dev build-essential rabbitmq-server python3 python3-pip python3-setuptools
pip install --upgrade pip setuptools
pip3 install --upgrade pip setuptools
# Install deps
pip install -r /vagrant/requirements.txt
pip install nose coverage
pip3 install -r /vagrant/requirements.txt
pip3 install nose coverage
# HTTP server for viewing coverage reports
apt-get -y install nginx
rm -rf /var/www/html
ln -s /vagrant/htmlcov /var/www/html
# .bashrc for default user
echo """# .bashrc
cd /vagrant""" > /home/vagrant/.bashrc
SHELL
end
[metadata]
description-file = README.md
[pycodestyle]
max-line-length=120
[bdist_wheel]
universal=1
from distutils.core import setup # coding=UTF-8
from setuptools import setup
setup(name='satella', setup(name='satella',
version='1.0', version='1.9.0',
description='Network, concurrency, instrumentation for servers', description=u'Utilities for writing servers in Python',
author='Piotr Maslanka', author=u'Piotr Maślanka',
author_email='piotr.maslanka@henrietta.com.pl', author_email='piotrm@smok.co',
url='https://www.github.com/piotrmaslanka/satella/', keywords=['ha', 'high availability', 'scalable', 'scalability', 'server'],
packages=['satella', packages=[
'satella.unix', 'satella',
'satella.channels', ],
'satella.channels.sockets', install_requires=[
'satella.contrib', "six",
'satella.db', "monotonic",
'satella.db.pool', ],
'satella.instrumentation', tests_require=[
'satella.instrumentation.counters', "nose"
'satella.instrumentation.exctrack', ],
'satella.threads'], test_suite='nose.collector',
) classifiers=[
\ No newline at end of file 'Programming Language :: Python',
'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 :: POSIX',
'Development Status :: 1 - Planning',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries'
]
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment