-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
36 lines (29 loc) · 1.05 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
# Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import os
from setuptools import find_packages, setup
with open("README.md", "r") as fh:
long_description = fh.read()
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]
setup(
name="mtm",
version="1.0.0",
author="Philipp Wu",
author_email="[email protected]",
description="mtm",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/facebookresearch/mtm",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
python_requires=">=3.8",
license="MIT",
install_requires=read_requirements_file("requirements.txt"),
)