-
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.
Showing
5 changed files
with
36 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -13,3 +13,8 @@ docs/_templates/* | |
|
||
# pytest output | ||
.pytest_cache | ||
|
||
# pypi package output | ||
build/ | ||
dist/ | ||
mATLASplotlib.egg-info/ |
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 @@ | ||
include README.md |
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
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,10 @@ | ||
#! /bin/bash | ||
|
||
# Create package | ||
python setup.py sdist bdist_wheel | ||
|
||
# Upload to pypi (use --repository-url https://test.pypi.org/legacy/ for testing) | ||
twine upload dist/* | ||
|
||
# Remove temporary files | ||
rm -rf build/ dist/ |
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,18 @@ | ||
from setuptools import find_packages, setup | ||
|
||
with open("README.md", "r") as f_readme: | ||
long_description = f_readme.read() | ||
|
||
setup( | ||
name = "mATLASplotlib", | ||
version = "0.1", | ||
description = "Wrappers around matplotlib functionality to produce plots compatible with the style guidelines for the ATLAS experiment at the LHC", | ||
long_description = long_description, | ||
long_description_content_type = "text/markdown", | ||
url = "https://github.com/jemrobinson/mATLASplotlib", | ||
author = "James Robinson", | ||
author_email = "james.em.robinson@gmail.com", | ||
license = "GPLv3", | ||
install_requires = ["matplotlib", "numpy", "scipy"], | ||
packages = find_packages(), | ||
) |