-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
setup.py
53 lines (45 loc) · 1.49 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
45
46
47
48
49
50
51
52
53
# from https://github.com/garrettj403/SciencePlots
# to setup on Pypi: https://towardsdatascience.com/how-to-upload-your-python-package-to-pypi-de1b363a1b3
"""Install LovelyPlots.
This script (setup.py) will install the LovelyPlots package.
In order to expose .mplstyle files to matplotlib, "import lovelyplots"
must be called before plt.style.use(...).
"""
import os
from setuptools import setup
# Get description from README
root = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(root, 'README.md'), 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='lovelyplots',
version='1.0.2',
author="Killian Sheriff",
author_email="killian.sheriff@gmail.com",
description="Format Matplotlib Plots for thesis, scientific papers and reports.",
long_description=long_description,
long_description_content_type='text/markdown',
license="MIT",
url="https://github.com/killiansheriff/LovelyPlots",
install_requires=['matplotlib'],
packages=["lovelyplots"],
package_data={
'lovelyplots': ['styles/**/*.mplstyle'],
},
classifiers=[
'Framework :: Matplotlib',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3'
],
keywords=[
"matplotlib-style-sheets",
"matplotlib-figures",
"scientific-papers",
"PhD",
"thesis-template",
"matplotlib-styles",
"Adobe Illustrator",
"Latex",
"latex-figures",
],
)