Skip to content

Commit

Permalink
Better describe package, and deploy it
Browse files Browse the repository at this point in the history
  • Loading branch information
jondequinor committed Dec 10, 2019
1 parent b24935d commit 85ab129
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ core.*
/include
/dist
/build

semeio/version.py
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ env:
- INSTALL_DIR="$(pwd)/install"
- LD_LIBRARY_PATH="${INSTALL_DIR}/lib:${INSTALL_DIR}/lib64"
- DYLD_LIBRARY_PATH="${INSTALL_DIR}/lib:${INSTALL_DIR}/lib64"
- secure: hYALJVOFdfNfbWnhA/S+4iyxmlUGThJPtsDZRNGdabzGpls1WRGhbvIoCdDmkvBdYdfJq0596Kg21Hmkh0QVmemgYhZMiiyG6FsuOOt66mKv+TFSLT6BNiYz3WTFvqqE94TkeRU5j7EDmIn7e5C2f1V+TUUr8Da9BVhal9qKj5/V0+oQ7hPhmupdz01yet2WCWZZ1IRahpjISHjJ1wj6Dw0Sf3F9/mP+lWDbda+vpZfMr6/QXqS1m9BtFn7f9UreLK3d+sRtHJ89kxmYhChBJKwZCIyPqfjaf7fhSkL2yLE3taxwQY3BBoe/Jaek9xO4mM0MqhPn7FAFXpm8t/iEBh5COXuR73K9+AP+vGyPqMMU23qfqRvhq0qUD2U2r6JE7dZyrMj5H86ECeUnWTBjblRnQfEvZzKbi8E8kC/XbYqp0rzIi2QeGobJHxW0C3epWhLK8ywhnIZepAYNrgKTGkExHdV+A2UDDUxio4RhtTI3u9UXerR6xpzH4oSm+Y48oeeK1ip47Dx4jha9IlmH8i0Ug4IqKAo78Ek6zViEsBXRSTPO+tFz4lGT750kjAZNytFmX4hOu+cCMFE99dXCLnGz+4IU6tSyIciYIn09iArmPqVZS+jXyDw49Y7pXnZ7te9F+ZArzBxXAem98JPRY0s4P4xmQWLlW5Mf8MWvdGw= # variable PYPI_PWD


addons:
apt:
Expand Down Expand Up @@ -59,3 +57,14 @@ install:

script:
- python setup.py test

deploy:
- provider: pypi
user: statoil-travis
distributions: bdist_wheel sdist
skip_existing: true
password:
secure: hYALJVOFdfNfbWnhA/S+4iyxmlUGThJPtsDZRNGdabzGpls1WRGhbvIoCdDmkvBdYdfJq0596Kg21Hmkh0QVmemgYhZMiiyG6FsuOOt66mKv+TFSLT6BNiYz3WTFvqqE94TkeRU5j7EDmIn7e5C2f1V+TUUr8Da9BVhal9qKj5/V0+oQ7hPhmupdz01yet2WCWZZ1IRahpjISHjJ1wj6Dw0Sf3F9/mP+lWDbda+vpZfMr6/QXqS1m9BtFn7f9UreLK3d+sRtHJ89kxmYhChBJKwZCIyPqfjaf7fhSkL2yLE3taxwQY3BBoe/Jaek9xO4mM0MqhPn7FAFXpm8t/iEBh5COXuR73K9+AP+vGyPqMMU23qfqRvhq0qUD2U2r6JE7dZyrMj5H86ECeUnWTBjblRnQfEvZzKbi8E8kC/XbYqp0rzIi2QeGobJHxW0C3epWhLK8ywhnIZepAYNrgKTGkExHdV+A2UDDUxio4RhtTI3u9UXerR6xpzH4oSm+Y48oeeK1ip47Dx4jha9IlmH8i0Ug4IqKAo78Ek6zViEsBXRSTPO+tFz4lGT750kjAZNytFmX4hOu+cCMFE99dXCLnGz+4IU6tSyIciYIn09iArmPqVZS+jXyDw49Y7pXnZ7te9F+ZArzBxXAem98JPRY0s4P4xmQWLlW5Mf8MWvdGw= # variable PYPI_PWD
on:
tags: true
branch: master
20 changes: 18 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ def package_files(directory):

setup(
name="semeio",
version="0.0.1",
use_scm_version={"write_to": "semeio/version.py"},
author="Software Innovation Bergen, Equinor ASA",
author_email="[email protected]",
url="https://github.com/equinor/semeio",
description="Jobs and workflow jobs for Ert.",
packages=[
"semeio",
Expand All @@ -28,13 +30,27 @@ def package_files(directory):
"semeio_jobs = semeio.hook_implementations.jobs",
]
},
license="GPL-3.0",
platforms="any",
classifiers=[
"Development Status :: 1 - Planning",
"Environment :: Plugins",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=[
"configsuite",
"numpy",
"pandas",
"six",
],
setup_requires=["pytest-runner"],
setup_requires=["pytest-runner", "setuptools_scm"],
tests_require=["pytest", "mock"],
test_suite="tests",
package_data={"": job_files},
Expand Down

0 comments on commit 85ab129

Please sign in to comment.