forked from garrettj403/SciencePlots
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (42 loc) · 1.31 KB
/
setup.py
File metadata and controls
48 lines (42 loc) · 1.31 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
"""Install SciencePlots.
This script (setup.py) will install the SciencePlots package.
In order to expose .mplstyle files to matplotlib, "import scienceplots"
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='SciencePlots',
version='2.1.1',
author="John Garrett",
author_email="garrettj403@gmail.com",
maintainer="Echedey Luis",
maintainer_email="echelual@gmail.com",
description="Format Matplotlib for scientific plotting",
long_description=long_description,
long_description_content_type='text/markdown',
license="MIT",
url="https://github.com/garrettj403/SciencePlots/",
install_requires=['matplotlib'],
packages=["scienceplots"],
package_data={
'scienceplots': ['styles/**/*.mplstyle'],
},
classifiers=[
'Framework :: Matplotlib',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3'
],
keywords=[
"matplotlib-style-sheets",
"matplotlib-figures",
"scientific-papers",
"thesis-template",
"matplotlib-styles",
"python"
],
)