-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
34 lines (28 loc) · 950 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
from setuptools import find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
def read_file(*file_name: str) -> str:
"""
This function is used to read a given file and return its contents
:param file_name the file to be read
:return: the string containing the file contents
"""
with open(os.path.join(HERE, *file_name)) as f:
return f.read()
setup(
name='digipathos',
version='0.2.4',
license='BSD-3-Clause',
url='https://github.com/bresan/digipathos_plant_pathology',
description='',
long_description=read_file('README.md'),
long_description_content_type="text/markdown",
author='Rodrigo Bresan',
author_email='',
classifiers=[
'Programming Language :: Python :: 3.6',
],
packages=find_packages(),
install_requires=read_file('requirements.txt'),
entry_points={'console_scripts': ['digipathos=digipathos.__main__:run']}
)