Skip to content

Commit c4d7455

Browse files
committed
add logo to pypi
1 parent 11cf01b commit c4d7455

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021.5.2
1+
2021.5.3

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"@context": "https://raw.githubusercontent.com/codemeta/codemeta/master/codemeta.jsonld", "@type": "Code", "author": [{"@id": "0000-0002-4658-2443", "@type": "Person", "email": "[email protected]", "name": "Matthew Scroggs", "affiliation": "Department of Engineering, University of Cambridge"}], "identifier": "", "codeRepository": "https://github.com/mscroggs/symfem", "datePublished": "2021-01-23", "dateModified": "2021-05-30", "dateCreated": "2021-01-23", "description": "A symbolic finite element definition library", "keywords": "Python, finite element method, numerical analysis", "license": "MIT", "title": "Symfem", "version": "2021.5.2"}
1+
{"@context": "https://raw.githubusercontent.com/codemeta/codemeta/master/codemeta.jsonld", "@type": "Code", "author": [{"@id": "0000-0002-4658-2443", "@type": "Person", "email": "[email protected]", "name": "Matthew Scroggs", "affiliation": "Department of Engineering, University of Cambridge"}], "identifier": "", "codeRepository": "https://github.com/mscroggs/symfem", "datePublished": "2021-01-23", "dateModified": "2021-05-30", "dateCreated": "2021-01-23", "description": "A symbolic finite element definition library", "keywords": "Python, finite element method, numerical analysis", "license": "MIT", "title": "Symfem", "version": "2021.5.3"}

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import setuptools
44

55
os.system("cp VERSION symfem/")
6+
os.system("cp logo/logo.png symfem/")
67

78
if sys.version_info < (3, 6):
89
print("Python 3.6 or higher required, please upgrade.")
@@ -17,7 +18,7 @@
1718
with open("README.md") as f:
1819
long_description = f.read().replace(
1920
"(logo/logo.png)",
20-
"(https://raw.githubusercontent.com/mscroggs/symfem/logo/logo/logo.png)")
21+
"(logo.png)")
2122

2223
data_files = [
2324
("symfem", ["symfem/VERSION"])]

0 commit comments

Comments
 (0)