Skip to content

Commit 9f88c05

Browse files
committed
Drop travis automation, also remove all traces.
We really need to polish the README, but let's try this for now. Moved the integration test dependency to '.', as the upstream pip bug is resolved now.
1 parent c168d2d commit 9f88c05

File tree

4 files changed

+22
-83
lines changed

4 files changed

+22
-83
lines changed

.travis.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

README.md

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
Project Fluent [![Build Status][travisimage]][travislink]
2-
=========================================================
3-
4-
[travisimage]: https://travis-ci.org/projectfluent/python-fluent.svg?branch=master
5-
[travislink]: https://travis-ci.org/projectfluent/python-fluent
1+
Project Fluent
2+
==============
63

74
This is a Python implementation of Project Fluent, a localization framework
85
designed to unleash the entire expressive power of natural language
@@ -32,36 +29,28 @@ you're a tool author you may be interested in the formal [EBNF grammar][].
3229
[Read the Fluent Syntax Guide]: http://projectfluent.org/fluent/guide/
3330
[EBNF grammar]: https://github.com/projectfluent/fluent/tree/master/spec
3431

35-
36-
Installation
37-
------------
38-
3932
python-fluent consists of these packages:
4033

41-
* `fluent.syntax` - includes AST classes and parser. Most end users will not
42-
need this directly. Documentation coming soon!
43-
44-
To install:
45-
46-
pip install fluent.syntax
47-
48-
49-
* `fluent.runtime` - methods for generating translations from FTL files.
50-
51-
To install:
34+
`fluent.syntax` ![fluent.syntax](https://github.com/projectfluent/python-fluent/workflows/fluent.syntax/badge.svg)
35+
-------------------------------------------------------------------------------------------------------------------------
5236

53-
pip install fluent.runtime
37+
The syntax package includes the parser, serializer, and traversal utilities
38+
like Visitor and Transformer. You're looking for this package if you work on tooling
39+
for Fluent in Python.
5440

55-
(The correct version of ``fluent.syntax`` will be installed automatically)
5641

57-
* `fluent.pygments` - a plugin for pygments to add syntax highlighting to Sphinx.
42+
`fluent.runtime` ![fluent.runtime](https://github.com/projectfluent/python-fluent/workflows/fluent.runtime/badge.svg)
43+
---------------------------------------------------------------------------------------------------------------------------
5844

59-
To install:
45+
This package includes the library required to use Fluent to localize your
46+
Python application. It comes with a `Localization` class to use, based on
47+
an implementation of bundle. It uses the tooling parser above to read
48+
Fluent files.
6049

61-
pip install fluent.pygments
50+
`fluent.pygments`
51+
-----------------
6252

63-
PyPI also contains an old `fluent` package which is an older version of just
64-
`fluent.syntax`.
53+
A plugin for pygments to add syntax highlighting to Sphinx.
6554

6655
Usage
6756
-----

fluent.runtime/tox.ini

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# This config is for local testing. It should be duplicated into .travis.yml
1+
# This config is for local testing.
2+
# It should be correspond to .github/workflows/fluent.runtime.yml
23
[tox]
34
envlist = {py27,py35,py36,py37,pypy,pypy3}-syntax0.17, py36-syntax0.17, latest
45
skipsdist=True
@@ -16,15 +17,7 @@ deps =
1617
commands = ./runtests.py
1718

1819
[testenv:latest]
19-
basepython = python3.6
20+
basepython = python3.7
2021
deps =
21-
# Here we try to reproduce what a user gets if they do 'pip install fluent.runtime'
22-
# It's tempting to use '.' here to get 'pip install .'
23-
# Unfortunately it is super slow: https://github.com/pypa/pip/issues/2195
24-
# Instead we copy-paste from setup.py
25-
fluent.syntax>=0.17,<0.18
26-
attrs
27-
babel
28-
pytz
22+
.
2923
mock
30-
six

fluent.syntax/tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# This config is for local testing. It should be duplicated into .travis.yml
1+
# This config is for local testing.
2+
# It should be correspond to .github/workflows/fluent.syntax.yml
23
[tox]
34
envlist = py27, py35, py36, py37, pypy, pypy3
45
skipsdist=True

0 commit comments

Comments
 (0)