Skip to content

Commit

Permalink
prepare for pypi repo
Browse files Browse the repository at this point in the history
  • Loading branch information
wasertech committed Mar 13, 2023
1 parent 9296b43 commit e8fb507
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[build-system]
requires = ["setuptools", "wheel", "transformers", "torch", "langcodes", "datasets", "halo", "psutil", "shutils", "accelerate", "questionary"]

[tool.black]
# better to keep default line-length than to match flake8
exclude = '''
( # exclude entire contents of these top level directories...
/( \.eggs
| \.git
| \.hg
| \.mypy
| _cache
| \.nox
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
|
( # and these additional random rules
/( __pycache__
| \.circleci
| \.github
| \.vscode
| \.pytest_cache
| ply
)/
)
'''


[tool.isort]
profile = "black"
src_paths = ["translator"] #add tests here when needed
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.

0 comments on commit e8fb507

Please sign in to comment.