forked from garrettj403/SciencePlots
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86d5d76
commit ce85e93
Showing
2 changed files
with
11 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
global-include *.mplstyle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,11 @@ | |
from setuptools.command.install import install | ||
|
||
|
||
# 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() | ||
|
||
def install_styles(): | ||
|
||
# Find all style files | ||
|
@@ -42,10 +47,12 @@ def __init__(self, *args, **kwargs): | |
|
||
setup( | ||
name='SciencePlots', | ||
version='1.0.0', | ||
version='1.0.3', | ||
author="John Garrett", | ||
author_email="[email protected]", | ||
description="Format Matplotlib for scientific plotting", | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
license="MIT", | ||
keywords=[ | ||
"matplotlib-style-sheets", | ||
|
@@ -56,26 +63,6 @@ def __init__(self, *args, **kwargs): | |
"python" | ||
], | ||
url="https://github.com/garrettj403/SciencePlots/", | ||
# py_modules=['styles'], | ||
package_data = { | ||
'styles': [ | ||
"misc/no-latex.mplstyle", | ||
"misc/pgf.mplstyle", | ||
"science.mplstyle", | ||
"color/muted.mplstyle", | ||
"color/vibrant.mplstyle", | ||
"color/high-vis.mplstyle", | ||
"color/bright.mplstyle", | ||
"color/retro.mplstyle", | ||
"scatter.mplstyle", | ||
"journals/ieee.mplstyle", | ||
"notebook.mplstyle" | ||
] | ||
}, | ||
install_requires=[ | ||
'matplotlib', | ||
], | ||
cmdclass={ | ||
'install': PostInstallMoveFile, | ||
} | ||
install_requires=['matplotlib',], | ||
cmdclass={'install': PostInstallMoveFile,}, | ||
) |