-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (25 loc) · 920 Bytes
/
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
import os
import pathlib
from setuptools import find_packages, setup
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / 'README.md').read_text(encoding='utf-8')
def read_requirements_file(filename):
req_file_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), filename)
with open(req_file_path) as f:
return [line.strip() for line in f]
description = 'Disentangled representation learning.'
install_requires = read_requirements_file('requirements.txt')
setup(
name='disentangle',
version='0.0.2',
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/kylehkhsu/tripod',
author='Kyle Hsu',
keywords='machine, learning, research',
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
license='MIT',
)