Skip to content

Commit 1eb0602

Browse files
Renamed the package from asyncbleach to unasync
1 parent acb516b commit 1eb0602

27 files changed

Lines changed: 37 additions & 37 deletions

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ test_script:
2323
- "mkdir empty"
2424
- "cd empty"
2525
# Make sure it's being imported from where we expect
26-
- "python -c \"import os, asyncbleach; print(os.path.dirname(asyncbleach.__file__))\""
27-
- "python -u -m pytest -W error -ra -v -s --pyargs asyncbleach --cov=asyncbleach --cov-config=../.coveragerc"
26+
- "python -c \"import os, unasync; print(os.path.dirname(unasync.__file__))\""
27+
- "python -u -m pytest -W error -ra -v -s --pyargs unasync --cov=unasync --cov-config=../.coveragerc"
2828
- "codecov"

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[run]
22
branch=True
3-
source=asyncbleach
3+
source=unasync
44

55
[report]
66
precision = 1

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Add any project-specific files here:
2-
asyncbleach/_tests/example_pkg/build/
2+
unasync/_tests/example_pkg/build/
33

44
bench/results/
55
bench/env/

CHEATSHEET.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,23 @@ To run tests
4747
* Install requirements: ``pip install -r test-requirements.txt``
4848
(possibly in a virtualenv)
4949

50-
* Actually run the tests: ``pytest asyncbleach``
50+
* Actually run the tests: ``pytest unasync``
5151

5252

5353
To run yapf
5454
-----------
5555

5656
* Show what changes yapf wants to make: ``yapf -rpd setup.py
57-
asyncbleach``
57+
unasync``
5858

5959
* Apply all changes directly to the source tree: ``yapf -rpi setup.py
60-
asyncbleach``
60+
unasync``
6161

6262

6363
To make a release
6464
-----------------
6565

66-
* Update the version in ``asyncbleach/_version.py``
66+
* Update the version in ``unasync/_version.py``
6767

6868
* Run ``towncrier`` to collect your release notes.
6969

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ include README.rst CHEATSHEET.rst LICENSE* CODE_OF_CONDUCT* CONTRIBUTING*
22
include .coveragerc .style.yapf
33
include test-requirements.txt
44
recursive-include docs *
5-
recursive-include asyncbleach/_tests *
5+
recursive-include unasync/_tests *
66
prune docs/build

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
asyncbleach
1+
unasync
22
===========
33

4-
Welcome to `asyncbleach <Project URL (for setup.py metadata)>`__!
4+
Welcome to `unasync <Project URL (for setup.py metadata)>`__!
55

66
The async transformation code.
77

ci/travis.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ pip install -U pip setuptools wheel
5757

5858
if [ "$CHECK_FORMATTING" = "1" ]; then
5959
pip install yapf==${YAPF_VERSION}
60-
if ! yapf -rpd setup.py asyncbleach; then
60+
if ! yapf -rpd setup.py unasync; then
6161
cat <<EOF
6262
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6363
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6464
6565
Formatting problems were found (listed above). To fix them, run
6666
6767
pip install yapf==${YAPF_VERSION}
68-
yapf -rpi setup.py asyncbleach
68+
yapf -rpi setup.py unasync
6969
7070
in your local checkout.
7171
@@ -93,7 +93,7 @@ else
9393
mkdir empty
9494
cd empty
9595

96-
pytest -W error -ra -v --pyargs asyncbleach --cov=asyncbleach --cov-config=../.coveragerc --verbose
96+
pytest -W error -ra -v --pyargs unasync --cov=unasync --cov-config=../.coveragerc --verbose
9797

9898
bash <(curl -s https://codecov.io/bash)
9999
fi

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# You can set these variables from the command line.
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
7-
SPHINXPROJ = asyncbleach
7+
SPHINXPROJ = unasync
88
SOURCEDIR = source
99
BUILDDIR = build
1010

docs/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if "%SPHINXBUILD%" == "" (
99
)
1010
set SOURCEDIR=source
1111
set BUILDDIR=build
12-
set SPHINXPROJ=asyncbleach
12+
set SPHINXPROJ=unasync
1313

1414
if "%1" == "" goto help
1515

docs/source/conf.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@
6767
master_doc = 'index'
6868

6969
# General information about the project.
70-
project = 'asyncbleach'
71-
copyright = 'The asyncbleach authors'
72-
author = 'The asyncbleach authors'
70+
project = 'unasync'
71+
copyright = 'The unasync authors'
72+
author = 'The unasync authors'
7373

7474
# The version info for the project you're documenting, acts as replacement for
7575
# |version| and |release|, also used in various other places throughout the
7676
# built documents.
7777
#
7878
# The short X.Y version.
79-
import asyncbleach
80-
version = asyncbleach.__version__
79+
import unasync
80+
version = unasync.__version__
8181
# The full version, including alpha/beta/rc tags.
8282
release = version
8383

@@ -140,7 +140,7 @@
140140
# -- Options for HTMLHelp output ------------------------------------------
141141

142142
# Output file base name for HTML help builder.
143-
htmlhelp_basename = 'asyncbleachdoc'
143+
htmlhelp_basename = 'unasyncdoc'
144144

145145

146146
# -- Options for LaTeX output ---------------------------------------------
@@ -167,7 +167,7 @@
167167
# (source start file, target name, title,
168168
# author, documentclass [howto, manual, or own class]).
169169
latex_documents = [
170-
(master_doc, 'asyncbleach.tex', 'Trio Documentation',
170+
(master_doc, 'unasync.tex', 'Trio Documentation',
171171
author, 'manual'),
172172
]
173173

@@ -177,7 +177,7 @@
177177
# One entry per manual page. List of tuples
178178
# (source start file, name, description, authors, manual section).
179179
man_pages = [
180-
(master_doc, 'asyncbleach', 'asyncbleach Documentation',
180+
(master_doc, 'unasync', 'unasync Documentation',
181181
[author], 1)
182182
]
183183

@@ -188,7 +188,7 @@
188188
# (source start file, target name, title, author,
189189
# dir menu entry, description, category)
190190
texinfo_documents = [
191-
(master_doc, 'asyncbleach', 'asyncbleach Documentation',
192-
author, 'asyncbleach', 'The async transformation code.',
191+
(master_doc, 'unasync', 'unasync Documentation',
192+
author, 'unasync', 'The async transformation code.',
193193
'Miscellaneous'),
194194
]

0 commit comments

Comments
 (0)