Skip to content

Commit

Permalink
Merge pull request #12 from jan-janssen/main
Browse files Browse the repository at this point in the history
Fix pip version
  • Loading branch information
jan-janssen authored Nov 21, 2022
2 parents 3663dc0 + 3c4cf4f commit 6254c9a
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/CODEOWNERS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyiron_gui-{{ version }}.tar.gz
sha256: 13923d79263ce188cb8cfec3b4dd8e99d94580f3fa792cb1807caa4fb0524db6
patches:
- setup.patch

build:
number: 0
number: 1
noarch: python
script: {{ PYTHON }} -m pip install . -vv

Expand Down
99 changes: 99 additions & 0 deletions recipe/setup.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
From 9923f5f51d50e6bdf889f0035ad3867777f5fb02 Mon Sep 17 00:00:00 2001
From: Jan Janssen <[email protected]>
Date: Mon, 21 Nov 2022 10:47:17 -0700
Subject: [PATCH] fix dos2unix and add versioneer

---
setup.py | 85 ++++++++++++++++++++++++++++----------------------------
1 file changed, 43 insertions(+), 42 deletions(-)

diff --git a/setup.py b/setup.py
index 6ddf3d4..84ee22a 100644
--- a/setup.py
+++ b/setup.py
@@ -1,42 +1,43 @@
-"""
-Setuptools based setup module
-"""
-from setuptools import setup, find_packages
-
-import versioneer
-
-setup(
- name='pyiron_gui',
- version=versioneer.get_version(),
- description='Repository for GUI plugins to the pyiron IDE.',
- long_description='http://pyiron.org',
-
- url='https://github.com/pyiron/pyiron_gui',
- author='Max-Planck-Institut für Eisenforschung GmbH - Computational Materials Design (CM) Department',
- author_email='[email protected]',
- license='BSD',
-
- classifiers=[
- 'Development Status :: 4 - Beta',
- 'Topic :: Scientific/Engineering :: Physics',
- 'License :: OSI Approved :: BSD License',
- 'Intended Audience :: Science/Research',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.7',
- 'Programming Language :: Python :: 3.8',
- 'Programming Language :: Python :: 3.9',
- 'Programming Language :: Python :: 3.10'
- ],
-
- keywords='pyiron',
- packages=find_packages(exclude=["*tests*", "*docs*", "*binder*", "*conda*", "*notebooks*", "*.ci_support*"]),
- install_requires=[
- 'pyiron_base>=0.5.22',
- 'pyiron_atomistics>=0.2.54',
- 'ipywidgets>=7.7.1',
- 'matplotlib>=3.5.3',
- 'numpy>=1.23.2',
- 'pandas>=1.4.3',
- ]
-)
+"""
+Setuptools based setup module
+"""
+from setuptools import setup, find_packages
+
+import versioneer
+
+setup(
+ name='pyiron_gui',
+ version=versioneer.get_version(),
+ description='Repository for GUI plugins to the pyiron IDE.',
+ long_description='http://pyiron.org',
+
+ url='https://github.com/pyiron/pyiron_gui',
+ author='Max-Planck-Institut für Eisenforschung GmbH - Computational Materials Design (CM) Department',
+ author_email='[email protected]',
+ license='BSD',
+
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Topic :: Scientific/Engineering :: Physics',
+ 'License :: OSI Approved :: BSD License',
+ 'Intended Audience :: Science/Research',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10'
+ ],
+
+ keywords='pyiron',
+ packages=find_packages(exclude=["*tests*", "*docs*", "*binder*", "*conda*", "*notebooks*", "*.ci_support*"]),
+ install_requires=[
+ 'pyiron_base>=0.5.22',
+ 'pyiron_atomistics>=0.2.54',
+ 'ipywidgets>=7.7.1',
+ 'matplotlib>=3.5.3',
+ 'numpy>=1.23.2',
+ 'pandas>=1.4.3',
+ ],
+ cmdclass=versioneer.get_cmdclass(),
+)

0 comments on commit 6254c9a

Please sign in to comment.