forked from linkedin/detext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (29 loc) · 1.14 KB
/
setup.py
File metadata and controls
31 lines (29 loc) · 1.14 KB
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
# Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
# See LICENSE in the project root for license information.
import setuptools
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
requires = ['numpy<1.17',
'smart-arg==0.4',
'tensorflow==1.14.0',
'tensorflow_ranking==0.1.4']
setuptools.setup(
name='detext',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=["Programming Language :: Python :: 3.7",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved"],
license='BSD-2-CLAUSE',
# DO NOT CHANGE: version should be incremented by bump2version when releasing. See pypi_release.sh
version='2.1.1',
package_dir={'': 'src'},
packages=setuptools.find_packages('src'),
include_package_data=True,
install_requires=requires,
tests_require=[
'pytest',
])