-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (35 loc) · 1.12 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
import os
import setuptools
def requirements():
with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), encoding="utf-8") as f:
return f.read().splitlines()
def package_files(directory):
paths = []
print(list(os.walk(directory)))
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join("..", path, filename))
print(paths)
return paths
setuptools.setup(
name="ivete",
version="1.0.0",
license="MIT",
author="Seongbum Seo",
author_email="sbumseo@bigpicture.team",
description="End-to-Inference Machine Learning Framework",
long_description=open("README.md").read(),
url="https://github.com/bigpicture-kr/ivete",
packages=setuptools.find_packages(),
include_package_data=True,
package_data={
"": package_files("ivete/deploy/templates")
},
zip_safe=True,
install_requires=requirements(),
classifiers=[
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
)