Skip to content

Commit d68f1fc

Browse files
Moved source of unasync to src
1 parent 65f55e1 commit d68f1fc

6 files changed

Lines changed: 6 additions & 21 deletions

File tree

README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,3 @@ Welcome to `unasync <Project URL (for setup.py metadata)>`__!
2020
The async transformation code.
2121

2222
License: Your choice of MIT or Apache License 2.0
23-
24-
COOKIECUTTER-TRIO-TODO: finish filling in your README!
25-
Must be valid ReST; also used as the PyPI description.

ci/travis.sh

Lines changed: 2 additions & 2 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 unasync; then
60+
if ! yapf -rpi setup.py src tests; 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 unasync
68+
yapf -rpi setup.py src tests
6969
7070
in your local checkout.
7171

setup.py

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_packages
22

3-
exec(open("unasync/_version.py", encoding="utf-8").read())
3+
exec(open("src/unasync/_version.py", encoding="utf-8").read())
44

55
LONG_DESC = open("README.rst", encoding="utf-8").read()
66

@@ -14,32 +14,20 @@
1414
author_email="[email protected]",
1515
license="MIT -or- Apache License 2.0",
1616
include_package_data=True,
17-
packages=find_packages(),
17+
packages=find_packages('src'),
18+
package_dir={'': 'src'},
1819
install_requires=[],
19-
keywords=[
20-
# COOKIECUTTER-TRIO-TODO: add some keywords
21-
# "async", "io", "networking", ...
22-
],
20+
keywords=['unasync'],
2321
python_requires=">=3.6",
2422
classifiers=[
2523
"License :: OSI Approved :: MIT License",
2624
"License :: OSI Approved :: Apache Software License",
2725
"Framework :: Trio",
28-
# COOKIECUTTER-TRIO-TODO: Remove any of these classifiers that don't
29-
# apply:
3026
"Operating System :: POSIX :: Linux",
3127
"Operating System :: MacOS :: MacOS X",
3228
"Operating System :: Microsoft :: Windows",
3329
"Programming Language :: Python :: 3 :: Only",
3430
"Programming Language :: Python :: Implementation :: CPython",
3531
"Programming Language :: Python :: Implementation :: PyPy",
36-
# COOKIECUTTER-TRIO-TODO: Consider adding trove classifiers for:
37-
#
38-
# - Development Status
39-
# - Intended Audience
40-
# - Topic
41-
#
42-
# For the full list of options, see:
43-
# https://pypi.org/classifiers/
4432
],
4533
)

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)