Skip to content

Commit 0ba2cf6

Browse files
committed
Switch to poetry to make publishing easy
1 parent 7c79470 commit 0ba2cf6

File tree

3 files changed

+25
-62
lines changed

3 files changed

+25
-62
lines changed

pyproject.toml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ line-length = 79
33
target-version = ['py37']
44
include = '\.pyi?$'
55
exclude = '''
6-
76
(
87
/(
98
\.eggs # exclude a few common directories in the
@@ -17,11 +16,32 @@ exclude = '''
1716
| build
1817
| dist
1918
)/
20-
| foo.py # also separately exclude a file named foo.py in
21-
# the root of the project
2219
)
2320
'''
2421

22+
[tool.poetry]
23+
name = "scale-nucleus"
24+
version = "0.1.0"
25+
description = "The official Python client library for Nucleus, the Data Platform for AI"
26+
license = "MIT"
27+
authors = ["Scale AI Nucleus Team <nucleusapi@scaleapi.com>"]
28+
readme = "README.md"
29+
homepage = "https://scale.com/nucleus"
30+
repository = "https://github.com/scaleapi/nucleus-python-client"
31+
documentation = "https://dashboard.scale.com/nucleus/docs/api"
32+
packages = [{include="nucleus"}]
33+
34+
[tool.poetry.dependencies]
35+
python = "^3.6"
36+
grequests = "^0.6.0"
37+
requests = "^2.25.1"
38+
tqdm = "^4.60.0"
39+
40+
[tool.poetry.dev-dependencies]
41+
poetry = "^1.1.5"
42+
pytest = "^6.2.3"
43+
pylint = "^2.7.4"
44+
2545
[build-system]
26-
requires = ["setuptools", "wheel"]
27-
build-backend = "setuptools.build_meta:__legacy__"
46+
requires = ["poetry-core>=1.0.0"]
47+
build-backend = "poetry.core.masonry.api"

requirements.txt

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

setup.py

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

0 commit comments

Comments
 (0)