-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (32 loc) · 1.06 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
import pathlib
import os
from setuptools import setup, find_packages
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# Load requirements from requirements.txt
requirement_path = os.path.join(HERE, "/requirements.txt")
install_requires = []
if os.path.isfile(requirement_path):
with open(requirement_path) as f:
install_requires = f.read().splitlines()
print(install_requires)
# This call to setup() does all the work
setup(
name="summaries",
version="0.0.1",
description="A package for working with summarization systems",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/dennlinger/summaries",
author="Dennis Aumiller",
author_email="aumiller@informatik.uni-heidelberg.de",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
],
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
)