Upload setup.py with huggingface_hub
Browse files
setup.py
CHANGED
|
@@ -7,7 +7,6 @@ Installation:
|
|
| 7 |
pip install -e . # Editable/development install
|
| 8 |
pip install . # Standard install
|
| 9 |
pip install -e ".[dev]" # Install with development dependencies
|
| 10 |
-
pip install -e ".[optuna]" # Install with hyperparameter optimization tools
|
| 11 |
"""
|
| 12 |
|
| 13 |
from setuptools import setup, find_packages
|
|
@@ -39,11 +38,6 @@ INSTALL_REQUIRES = [
|
|
| 39 |
'aiohttp>=3.8.0',
|
| 40 |
]
|
| 41 |
|
| 42 |
-
# Optional dependencies for hyperparameter optimization
|
| 43 |
-
OPTUNA_REQUIRES = [
|
| 44 |
-
'optuna>=3.0.0',
|
| 45 |
-
]
|
| 46 |
-
|
| 47 |
# Optional dependencies for development
|
| 48 |
DEV_REQUIRES = [
|
| 49 |
'pytest>=7.0.0',
|
|
@@ -54,11 +48,8 @@ DEV_REQUIRES = [
|
|
| 54 |
'ipython>=8.0.0',
|
| 55 |
]
|
| 56 |
|
| 57 |
-
# All optional dependencies
|
| 58 |
EXTRAS_REQUIRE = {
|
| 59 |
-
'optuna': OPTUNA_REQUIRES,
|
| 60 |
'dev': DEV_REQUIRES,
|
| 61 |
-
'all': OPTUNA_REQUIRES + DEV_REQUIRES,
|
| 62 |
}
|
| 63 |
|
| 64 |
setup(
|
|
@@ -96,15 +87,14 @@ setup(
|
|
| 96 |
extras_require=EXTRAS_REQUIRE,
|
| 97 |
entry_points={
|
| 98 |
'console_scripts': [
|
| 99 |
-
'gap-clip-train=training.
|
| 100 |
-
'gap-clip-example=example_usage:main',
|
| 101 |
],
|
| 102 |
},
|
| 103 |
include_package_data=True,
|
| 104 |
package_data={
|
| 105 |
'': [
|
| 106 |
-
'*.
|
| 107 |
-
'*.md', # Include markdown files
|
| 108 |
],
|
| 109 |
},
|
| 110 |
keywords=[
|
|
|
|
| 7 |
pip install -e . # Editable/development install
|
| 8 |
pip install . # Standard install
|
| 9 |
pip install -e ".[dev]" # Install with development dependencies
|
|
|
|
| 10 |
"""
|
| 11 |
|
| 12 |
from setuptools import setup, find_packages
|
|
|
|
| 38 |
'aiohttp>=3.8.0',
|
| 39 |
]
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
# Optional dependencies for development
|
| 42 |
DEV_REQUIRES = [
|
| 43 |
'pytest>=7.0.0',
|
|
|
|
| 48 |
'ipython>=8.0.0',
|
| 49 |
]
|
| 50 |
|
|
|
|
| 51 |
EXTRAS_REQUIRE = {
|
|
|
|
| 52 |
'dev': DEV_REQUIRES,
|
|
|
|
| 53 |
}
|
| 54 |
|
| 55 |
setup(
|
|
|
|
| 87 |
extras_require=EXTRAS_REQUIRE,
|
| 88 |
entry_points={
|
| 89 |
'console_scripts': [
|
| 90 |
+
'gap-clip-train=training.main_model:main',
|
| 91 |
+
'gap-clip-example=example_usage:main',
|
| 92 |
],
|
| 93 |
},
|
| 94 |
include_package_data=True,
|
| 95 |
package_data={
|
| 96 |
'': [
|
| 97 |
+
'*.md',
|
|
|
|
| 98 |
],
|
| 99 |
},
|
| 100 |
keywords=[
|