-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
28 lines (25 loc) · 880 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as f:
all_lines = f.read().split("\n")
requirements = [line for line in all_lines if "@" not in line]
requirements_git = [
line.replace("-e", line.split("=")[-1] + " @")
for line in all_lines
if "@" in line
]
requirements += requirements_git
setuptools.setup(
name="personal_context_builder",
version="3.1.1",
license="Apache-2.0",
author="Idiap - William Droz",
author_email="[email protected]",
description="Personal Context Builder for the Wenet project",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
classifiers=["Programming Language :: Python :: 3"],
install_requires=requirements,
)