2023-04-01 00:36:31 +02:00
|
|
|
import os
|
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
THIS_DIR = os.path.dirname(os.path.realpath(__file__))
|
2023-04-17 06:19:03 +02:00
|
|
|
TWML_TEST_DATA_DIR = os.path.join(THIS_DIR, "twml/tests/data")
|
2023-04-01 00:36:31 +02:00
|
|
|
|
|
|
|
data_files = []
|
|
|
|
for parent, children, files in os.walk(TWML_TEST_DATA_DIR):
|
2023-04-17 06:19:03 +02:00
|
|
|
data_files += [os.path.join(parent, f) for f in files]
|
2023-04-01 00:36:31 +02:00
|
|
|
|
|
|
|
setup(
|
2023-04-17 06:19:03 +02:00
|
|
|
name="twml",
|
|
|
|
version="2.0",
|
|
|
|
description="Tensorflow wrapper for twml",
|
|
|
|
packages=find_packages(exclude=["build"]),
|
|
|
|
install_requires=[
|
|
|
|
"thriftpy2",
|
|
|
|
"numpy",
|
|
|
|
"pyyaml",
|
|
|
|
"future",
|
|
|
|
"scikit-learn",
|
|
|
|
"scipy",
|
|
|
|
],
|
|
|
|
package_data={
|
|
|
|
"twml": data_files,
|
|
|
|
},
|
2023-04-01 00:36:31 +02:00
|
|
|
)
|