-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·57 lines (56 loc) · 2.3 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
#!/usr/bin/env python
# encoding: utf-8
"""Packaging script for the farm_tools library."""
import sys
import os
from setuptools import setup, find_packages
setup(
name="farm-tools",
version="0.1" ,
author="Johann Petrak",
author_email="johann.petrak@gmail.com",
url="https://github.com/johann-petrak/farm-tools",
keywords=["machine learning"],
description="Tools for doing text classification using Transformers via the FARM library",
#long_description=readme,
#long_description_content_type="text/markdown",
setup_requires=[
# deliberately not used, since it installs packages without pip, use the "dev" extras instead
],
# install_requires=get_install_extras_require()["base"],
# extras_require=get_install_extras_require(),
# NOTE: this is not actually used since it will not work with gatenlp version reporting
# from the gateplugin-Python plugin (since _version.py is not/should not get committed, only distributed)
# (this would also not work if we deploy after committing)
python_requires=">=3.7",
# tests_require=["pytest", "pytest-cov"],
platforms="any",
license="Apache License 2.0",
packages=find_packages(),
# test_suite="tests",
entry_points={"console_scripts": [
"farm-apply=farm_tools.farm_apply:main",
"farm-estimate=farm_tools.farm_estimate:main",
"farm-hsearch=farm_tools.farm_hsearch:main",
"farm-train=farm_tools.farm_train:main",
]},
classifiers=[
# "Development Status :: 6 - Mature",
# "Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
# "Development Status :: 3 - Alpha",
# "Development Status :: 2 - Pre-Alpha",
# "Development Status :: 1 - Planning",
# "License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: Apache Software License",
],
)