Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
tool files
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Apr 19, 2013
1 parent 26dabb9 commit bde6461
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -20,3 +20,4 @@ docs/_build

data/
venv/
cover/
16 changes: 12 additions & 4 deletions .travis.yml
@@ -1,11 +1,19 @@
language: python

python:
- 2.6
- 2.7
- "2.6"
- "2.7"

install:
- pip install -r dev-requirements.txt
- pip install -r etc/reqs-dev.txt

script:
- nosetests
- nosetests -s

after_success:
- pip install coveralls
- coverage run --source=june setup.py -q nosetests
- coveralls

notifications:
email: false
2 changes: 1 addition & 1 deletion License
@@ -1,4 +1,4 @@
Copyright (c) 2012, python-china.org
Copyright (c) 2013, python-china.org

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Expand Up @@ -49,13 +49,12 @@ lint:
@flake8 ${june_files}
@flake8 ${test_files}

testing:
test:
@nosetests -s

coverage:
@rm -f .coverage
@nosetests --with-cov --cov june tests/
@rm -f .coverage
@nosetests --with-coverage --cover-package=june --cover-html

# Sphinx Documentation
docs:
Expand Down
1 change: 1 addition & 0 deletions june/__init__.py
@@ -1 +1,2 @@
__version__ = '0.9.0'
__author__ = 'Hsiaoming Yang <me@lepture.com>'
17 changes: 17 additions & 0 deletions setup.py
@@ -0,0 +1,17 @@

import june
from email.utils import parseaddr
from setuptools import setup

author, author_email = parseaddr(june.__author__)


setup(
name='june',
version=june.__version__,
author=author,
author_email=author_email,
url='https://github.com/pythoncn/june',
packages=['june'],
license=open('License').read()
)

0 comments on commit bde6461

Please sign in to comment.