-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
78 lines (74 loc) · 2.4 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
from setuptools import setup, find_packages
## Distributing on pypi
#
## Tag
#
# To create a tag in the repo
#
# ```bash
# git commit -am "message"
# git push
# git tag X.Y.Z -m "vipy-X.Y.Z"
# git push --tags origin master
# ```
#
# To delete a tag in the repo
#
# ```bash
# git tag -d X.Y.Z
# git push origin :refs/tags/X.Y.Z
# ```
#
## PyPI distribution
#
# * Edit vipy/version.py to update the version number to match the tag
# * create ~/.pypirc following https://packaging.python.org/guides/migrating-to-pypi-org/ # uploading
# * minimum required setuptools >= 38.6.0
#
# ```bash
# python3 -m pip install --upgrade setuptools wheel twine
# python3 setup.py sdist upload -r pypi
# ```
#
# Local installation (virtualenv)
#
# ```bash
# cd /path/to/vipy
# pip install -e .
# ```
d_version = {}
with open("./vipy/version.py") as fp:
exec(fp.read(), d_version)
version = d_version['VERSION']
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='vipy',
author='Visym Labs',
author_email='[email protected]',
version=version,
packages=find_packages(),
description='Python Tools for Visual Dataset Transformation',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/visym/vipy',
download_url='https://github.com/visym/vipy/archive/%s.tar.gz' % version,
install_requires=[
"numpy",
"matplotlib",
"dill",
"pillow",
"ffmpeg-python"
],
extras_require={
'fast': ['ujson', 'numba'],
'all': ['scikit-build', 'scipy', 'opencv-python', 'torch', 'ipython', 'scikit-learn', 'boto3', 'youtube-dl', 'dask', 'distributed', 'h5py', 'nltk', 'bs4', 'pyyaml', 'pytest', 'paramiko', 'scp', 'ujson', 'pdoc3', 'dill', 'pillow', 'numpy', 'matplotlib','ffmpeg-python','heyvi','datasets'],
'complete': ['scikit-build', 'scipy', 'opencv-python', 'torch', 'ipython', 'scikit-learn', 'boto3', 'youtube-dl', 'dask', 'distributed', 'h5py', 'nltk', 'bs4', 'pyyaml', 'pytest', 'paramiko', 'scp', 'ujson', 'numba', 'pdoc3', 'dill', 'pillow', 'numpy', 'matplotlib','ffmpeg-python','heyvi','datasets']
},
keywords=['computer vision machine learning ML CV privacy video image'],
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License"
]
)