-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
44 lines (35 loc) · 1.16 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
37
38
39
40
41
42
43
44
from pathlib import Path
from setuptools import setup, find_packages
def post_install():
""" Implement post installation routine """
with open('./requirements.txt') as f:
install_requires = f.read().splitlines()
return install_requires
def pre_install():
""" Implement pre installation routine """
# read the contents of your README file
global long_description
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
pre_install()
setup(
name='PlantsAI',
version='0.0.3',
long_description=long_description,
long_description_content_type='text/markdown',
packages=["plantsai"],
setup_requires=[
'numpy'
],
url='https://github.com/PlantsAI/plantsai',
license='',
author='Sajjad Aemmi',
author_email='sajjadaemmi@gmail.com',
description='A powerful plant identifier to identify flowers, leaves, trees, and more in seconds! 🌱',
include_package_data=True,
# package_data={"plantsai": ['main.ui']},
install_requires=post_install(),
entry_points={
"console_scripts": ["plantsai=plantsai.plantsai:main"],
},
)