Skip to content

Commit 12b32a7

Browse files
committed
runtime: Include py.typed, drop unused six dependency
1 parent 3eb02e2 commit 12b32a7

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

fluent.runtime/fluent/runtime/py.typed

Whitespace-only changes.

fluent.runtime/setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
from setuptools import setup, find_namespace_packages
2-
import os
1+
from os import path
2+
from setuptools import setup
33

4-
this_directory = os.path.abspath(os.path.dirname(__file__))
5-
with open(os.path.join(this_directory, 'README.rst'), 'rb') as f:
4+
this_directory = path.abspath(path.dirname(__file__))
5+
with open(path.join(this_directory, 'README.rst'), 'rb') as f:
66
long_description = f.read().decode('utf-8')
77

88

@@ -25,14 +25,14 @@
2525
'Programming Language :: Python :: 3.9',
2626
'Programming Language :: Python :: 3 :: Only',
2727
],
28-
packages=find_namespace_packages(include=['fluent.*']),
28+
packages=['fluent.runtime'],
29+
package_data={'fluent.runtime': ['py.typed']},
2930
# These should also be duplicated in tox.ini and /.github/workflows/fluent.runtime.yml
3031
install_requires=[
3132
'fluent.syntax>=0.17,<0.20',
3233
'attrs',
3334
'babel',
3435
'pytz',
35-
'six',
3636
],
3737
test_suite='tests',
3838
)

fluent.runtime/tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ deps =
1212
attrs==19.1.0
1313
babel==2.7.0
1414
pytz==2019.2
15-
six==1.12.0
1615
syntax: .
1716
commands = ./runtests.py
1817

1918
[testenv:latest]
2019
basepython = python3
2120
deps =
2221
.
23-
six

0 commit comments

Comments
 (0)