-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from kmedian/dev
Fixes
- Loading branch information
Showing
8 changed files
with
38 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,4 +107,5 @@ venv.bak/ | |
# other | ||
.vscode | ||
profile/data* | ||
profile | ||
profile | ||
README.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include README.md | ||
include README.rst | ||
recursive-include test *.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# syntax check, unit test, profiling | ||
setuptools>=56.0.0 | ||
flake8>=3.8.4 | ||
pytest>=6.2.1 | ||
twine==3.3.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
from setuptools import setup | ||
import pypandoc | ||
import os | ||
|
||
|
||
def read(fname): | ||
with open(os.path.join(os.path.dirname(__file__), fname)) as fp: | ||
s = fp.read() | ||
return s | ||
|
||
|
||
def get_version(path): | ||
|
@@ -15,14 +21,13 @@ def get_version(path): | |
setup(name='yearfrac', | ||
version=get_version("yearfrac/__init__.py"), | ||
description='Daycount methods to compute date differences in year units', | ||
long_description=pypandoc.convert('README.md', 'rst'), | ||
long_description=read('README.rst'), | ||
url='http://github.com/kmedian/yearfrac', | ||
author='Ulf Hamster', | ||
author_email='[email protected]', | ||
license='MIT', | ||
packages=['yearfrac'], | ||
install_requires=[ | ||
'setuptools>=40.0.0', | ||
'numpy>=1.14.*,<2'], | ||
python_requires='>=3.6', | ||
zip_safe=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters