-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (44 loc) · 1.35 KB
/
setup.py
File metadata and controls
51 lines (44 loc) · 1.35 KB
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
45
46
47
48
49
50
51
from setuptools import setup, find_packages
from funplot.main import __version__
"""
See also
--------
https://stackoverflow.com/questions/58533084/what-keyword-arguments-does-setuptools-setup-accept
https://docs.python.org/3.7/distutils/setupscript.html#additional-meta-data
"""
def load_requirements() -> list[str]:
requirements = []
with open("requirements.txt", "r") as fp:
requirements.append(fp.readline())
return requirements
setup(
name="Funplot",
version=__version__,
author="mastro-elfo",
author_email="francesco.209@gmail.com",
maintainer="mastro-elfo",
maintainer_email="francesco.209@gmail.com",
description="Plot simple function graphs",
long_description="file: README.md, LICENSE",
classifiers="Environment :: Console",
keywords="cli, graph, plot",
license="MIT",
platform="any",
provides="funplot",
packages=find_packages(),
# install_requires=[
# "click==7.1.2",
# "cycler==0.10.0",
# "kiwisolver==1.3.1",
# "matplotlib==3.3.4",
# "numpy==1.20.1",
# "pandas==1.2.2",
# "Pillow==8.1.0",
# "pyparsing==2.4.7",
# "python-dateutil==2.8.1",
# "pytz==2021.1",
# "six==1.15.0",
# ],
install_requires=load_requirements(),
entry_points={"console_scripts": ["funplot=funplot.main:cli"]},
)