Skip to content

Commit

Permalink
add requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuminjie committed Sep 14, 2018
1 parent 81625f6 commit 41549c3
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*~
__pycache__
*.egg-info
4 changes: 4 additions & 0 deletions deploy-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage
codecov
pylint
twine
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest
26 changes: 26 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import setuptools

about = {}
with open('__about__.py') as fp:
exec(fp.read(), about)

with open("README.rst", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="OpenSeesPy",
version=about['__version__'],
author="Minjie Zhu",
author_email="zhum@oregonstate.edu",
description="A OpenSeesPy package",
long_description=long_description,
url="https://github.com/OpenSeesPy/OpenSeesPy",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows'
],
python_requires='>=3.6',
)
5 changes: 5 additions & 0 deletions tests/test_sanity.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import OpenSees.opensees as ops

def test_basic():
ops.wipe
assert 1==1

0 comments on commit 41549c3

Please sign in to comment.