Skip to content

Commit

Permalink
Merge d698f92 into 048c931
Browse files Browse the repository at this point in the history
  • Loading branch information
copyninja committed Jun 4, 2014
2 parents 048c931 + d698f92 commit f327be0
Show file tree
Hide file tree
Showing 204 changed files with 1,360 additions and 401 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
omit = silpa/tests/*
branch = True
source = silpa

[report]
ignore_errors = True
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ venv
*.swp
.\#*
\#*\#
*.webassets-cache/
*silpa.min.*
/.testrepository/
4 changes: 4 additions & 0 deletions .testr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[DEFAULT]
test_command=python -m subunit.run discover silpa $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: python
python:
- "2.7"
# - "3.3"
install:
- pip install -r requirements.txt
- pip install -r requirements-modules.txt
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements-py2.txt; fi
- pip install -r test-requirements.txt
script: make travis
after_success: coveralls
notifications:
email:
- silpa-discuss@nongnu.org
irc:
channels:
- "irc.freenode.net#silpa"
on_success: change
on_failure: change
use_notice: true
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
travis:
python setup.py testr --coverage \
--testr-args="--parallel --concurrency=2"
flake8 silpa

clean:
find . -name "*.pyc" -exec rm -vf {} \;
find -name __pycache__ -delete
find . -name "*~" -exec rm -vf {} \;

tox:
tox

flake:
flake8 silpa tests
4 changes: 4 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
SILPA
==========

[![Build Status](https://travis-ci.org/Project-SILPA/Silpa-Flask.svg?branch=development)](https://travis-ci.org/Project-SILPA/Silpa-Flask)
[![Coverage Status](https://coveralls.io/repos/Project-SILPA/Silpa-Flask/badge.png?branch=development)](https://coveralls.io/r/Project-SILPA/Silpa-Flask?branch=development)

SILPA - Indian Language computing platform which provides a web interface
for different Indian language computing python modules. This is hosted at

Expand Down
2 changes: 0 additions & 2 deletions core/__init__.py

This file was deleted.

102 changes: 0 additions & 102 deletions core/jsonrpchandler.py

This file was deleted.

55 changes: 0 additions & 55 deletions core/modulehelper.py

This file was deleted.

2 changes: 1 addition & 1 deletion silpa.conf → etc/silpa.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ shingling = yes
textsimilarity = yes
indicstemmer = yes
katapayadi = yes
scriptrender = yes
#scriptrender = yes

[module_display]
# Section gives names to be displayed on HTML and
Expand Down
36 changes: 0 additions & 36 deletions loadconfig.py

This file was deleted.

2 changes: 1 addition & 1 deletion requirements-modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-e git+https://github.com/Project-SILPA/Soundex.git#egg=soundex
-e git+https://github.com/Project-SILPA/silpa-common.git#egg=silpa_common
-e git+https://github.com/Project-SILPA/shingling.git#egg=shingling
-e git+https://github.com/Project-SILPA/scriptrender.git#egg=scriptrender
#-e git+https://github.com/Project-SILPA/scriptrender.git#egg=scriptrender
-e git+https://github.com/Project-SILPA/payyans.git#egg=payyans
-e git+https://github.com/Project-SILPA/normalizer.git#egg=normalizer
-e git+https://github.com/Project-SILPA/inexactsearch.git#egg=inexactsearch
Expand Down
1 change: 1 addition & 0 deletions requirements-py2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
configparser
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Flask
Flask-Assets
cssmin
jsmin>=2.0.6
27 changes: 27 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[metadata]
name = silpa
summary = Indic language computing platform
description-file =
README.md
author = SILPA Developers
author-email = silpa-discuss@nongnu.org
home-page = http://silpa.org.in
classifier =
Environment :: Web Environment
Framework :: Flask
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: OSI Approved
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 3

[files]
packages =
silpa

[build-sphinx]
all_files = 1
build_dir = docs/build
source-dir = docs
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from setuptools import setup


setup(
setup_requires=['pbr'],
pbr=True)
Loading

0 comments on commit f327be0

Please sign in to comment.