Skip to content

Commit

Permalink
chore: added bump2version
Browse files Browse the repository at this point in the history
  • Loading branch information
zweien committed Jul 20, 2020
1 parent 28002eb commit 4690f01
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[bumpversion]
current_version = 1.1.2
commit = True
tag = True
tag_name = v{new_version}

[bumpversion:file:fealpy/__init__.py]
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ dist
*.swn
*.swo
*.vtu


.vscode
9 changes: 8 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
include requirements.txt
# Include the requirements
include requirements.txt

# Include the README
include README.md

# Include the license file
include COPYRIGHT.txt
2 changes: 2 additions & 0 deletions fealpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""FEALPy: Finite Element Analysis Library in Python
====
"""

__version__ = "1.1.2"
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import os
import pathlib
from setuptools import setup, find_packages
from fealpy import __version__


here = os.path.abspath(os.path.dirname(__file__))
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / "README.md").read_text(encoding="utf-8")


def load_requirements(path_dir=here, comment_char="#"):
with open(os.path.join(path_dir, "requirements.txt"), "r") as file:
Expand All @@ -19,8 +23,10 @@ def load_requirements(path_dir=here, comment_char="#"):

setup(
name="fealpy",
version="1.0",
version=__version__,
description="FEALPy: Finite Element Analysis Library in Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/weihuayi/fealpy",
author="Huayi Wei",
author_email="[email protected]",
Expand Down

0 comments on commit 4690f01

Please sign in to comment.