|
9 | 9 | from setuptools.command.egg_info import egg_info
|
10 | 10 | from setuptools.command.install import install
|
11 | 11 |
|
| 12 | +AUTHOR_NAME = 'Jina AI' |
| 13 | +AUTHOR_EMAIL = '[email protected]' |
| 14 | +LICENSE = 'Apache 2.0' |
| 15 | +GITHUB_REPO = 'https://github.com/jina-ai/jina/' |
| 16 | +DOWNLOAD_URL = 'https://github.com/jina-ai/jina/tags' |
| 17 | +DOCUMENTATION = 'https://docs.jina.ai' |
| 18 | +TRACKER = 'https://github.com/jina-ai/jina/issues' |
| 19 | + |
12 | 20 | if sys.version_info < (3, 7, 0):
|
13 | 21 | raise OSError(f'Jina requires Python >=3.7, but yours is {sys.version}')
|
14 | 22 |
|
@@ -194,11 +202,11 @@ def get_extra_requires(path, add_all=True):
|
194 | 202 | version=__version__,
|
195 | 203 | include_package_data=True,
|
196 | 204 | description='Multimodal AI services & pipelines with cloud-native stack: gRPC, Kubernetes, Docker, OpenTelemetry, Prometheus, Jaeger, etc.',
|
197 |
| - author='Jina AI', |
198 |
| - |
199 |
| - license='Apache 2.0', |
200 |
| - url='https://github.com/jina-ai/jina/', |
201 |
| - download_url='https://github.com/jina-ai/jina/tags', |
| 205 | + author= AUTHOR_NAME, |
| 206 | + author_email= AUTHOR_EMAIL, |
| 207 | + license= LICENSE, |
| 208 | + url= GITHUB_REPO, |
| 209 | + download_url= DOWNLOAD_URL, |
202 | 210 | long_description=_long_description,
|
203 | 211 | long_description_content_type='text/markdown',
|
204 | 212 | zip_safe=False,
|
@@ -240,9 +248,9 @@ def get_extra_requires(path, add_all=True):
|
240 | 248 | 'Topic :: Software Development :: Libraries :: Python Modules',
|
241 | 249 | ],
|
242 | 250 | project_urls={
|
243 |
| - 'Documentation': 'https://docs.jina.ai', |
244 |
| - 'Source': 'https://github.com/jina-ai/jina/', |
245 |
| - 'Tracker': 'https://github.com/jina-ai/jina/issues', |
| 251 | + 'Documentation': DOCUMENTATION, |
| 252 | + 'Source': GITHUB_REPO, |
| 253 | + 'Tracker': TRACKER, |
246 | 254 | },
|
247 | 255 | keywords='jina cloud-native cross-modal multimodal neural-search query search index elastic neural-network encoding '
|
248 | 256 | 'embedding serving docker container image video audio deep-learning mlops',
|
|
0 commit comments