10000 Adds .travis.yml to Python Fire and updates setup.py · SolarisYan/python-fire@421bbae · GitHub
[go: up one dir, main page]

Skip to content

Commit 421bbae

Browse files
committed
Adds .travis.yml to Python Fire and updates setup.py
Copybara generated commit for Python Fire. Change-Id: If1ea92ddf10eb9719d93377b382c00f4d0b9670a Reviewed-on: https://team-review.git.corp.google.com/62984 Reviewed-by: David Bieber <dbieber@google.com>
1 parent 9f9630a commit 421bbae

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
- "3.4"
5+
- "3.5"
6+
- "3.6"
7+
before_install:
8+
- pip install --upgrade setuptools pip
9+
install:
10+
- python setup.py develop
11+
script: nosetests --ignore-files=parser_fuzz_test.py

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@
1717
from setuptools import setup
1818

1919
long_description = """
20-
Python Fire is a library for creating command line interfaces (CLIs) with a
21-
single line of code.
20+
Python Fire is a library for automatically generating command line interfaces
21+
(CLIs) with a single line of code.
2222
2323
It will turn any Python module, class, object, function, etc. (any Python
2424
component will work!) into a CLI. It's called Fire because when you call Fire(),
2525
it fires off your command.
2626
""".strip()
2727

28+
short_description = """
29+
A library for automatically generating commane line interfaces.""".strip()
30+
2831
dependencies = [
2932
'ipython',
3033
'six',
@@ -37,10 +40,10 @@
3740
]
3841

3942
setup(
40-
name='Python Fire',
43+
name='fire',
4144
version='0.1.0',
4245

43-
description='A library for creating command line interfaces.',
46+
description=short_description,
4447
long_description=long_description,
4548

4649
url='https://github.com/google/python-fire',

0 commit comments

Comments
 (0)
0