Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
setup.py should use requirements.txt and other req cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
raubitsj committed Jul 29, 2020
1 parent 6c78ae8 commit 7247866
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 218 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include wandb/py.typed
include package_readme.md
include requirements.txt

recursive-include wandb *.py
recursive-include wandb *.sh
Expand Down
3 changes: 0 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Click>=7.0
GitPython>=1.0.0
gql==0.2.0
nvidia-ml-py3>=7.352.0
python-dateutil>=2.6.1
requests>=2.0.0
shortuuid>=0.5.0
Expand All @@ -13,6 +12,4 @@ subprocess32>=3.5.3
docker-pycreds>=0.4.0
configparser>=3.8.1
protobuf>=3.12.0
prompt_toolkit
PyYAML
numpy
24 changes: 3 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,37 +9,19 @@
with open('package_readme.md') as readme_file:
readme = readme_file.read()

requirements = [
'Click>=7.0',
'GitPython>=1.0.0',
'gql==0.2.0',
'nvidia-ml-py3>=7.352.0',
'python-dateutil>=2.6.1',
'requests>=2.0.0',
'shortuuid>=0.5.0',
'six>=1.10.0',
'watchdog>=0.8.3',
'psutil>=5.0.0',
'sentry-sdk>=0.4.0',
'subprocess32>=3.5.3',
'docker-pycreds>=0.4.0',
'configparser>=3.8.1',
'protobuf',
'prompt_toolkit',
'PyYAML',
'numpy',
]
with open('requirements.txt') as requirements_file:
requirements = requirements_file.read().splitlines()

if sys.version_info < (3, 5):
requirements.append('typing')

test_requirements = [
'mock>=2.0.0',
'tox-pyenv>=1.0.3'
]

gcp_requirements = ['google-cloud-storage']
aws_requirements = ['boto3']

grpc_requirements = ['grpcio==1.27.2']
kubeflow_requirements = ['kubernetes', 'minio', 'google-cloud-storage', 'sh']

Expand Down
193 changes: 0 additions & 193 deletions wandb/old/meta.py

This file was deleted.

1 change: 0 additions & 1 deletion wandb/old/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import wandb
from wandb import util
from wandb import data_types
from wandb.old.meta import Meta
from wandb.apis.internal import Api
from six import string_types

Expand Down

0 comments on commit 7247866

Please sign in to comment.