Skip to content

Commit

Permalink
Update setup
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielAbra committed May 14, 2022
1 parent bb9a71b commit 62b78c9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

6 changes: 4 additions & 2 deletions modfin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# flake8: noqa
"""
The ModFin project aims to provide users with modules for Quantitative Financial Analysis
"""

import modfin.analysis as analysis
import modfin.metrics as metrics
import modfin.portfolio_opt as portfolio_opt
from modfin.analysis.risk_matrix import RiskMatrix

__version__ = "0.1.4"
__version__ = "0.1.5"

__all__ = [
'analysis',
Expand Down
3 changes: 2 additions & 1 deletion requires.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ numpy==1.19.1
pandas==1.1.1
scikit-learn==0.23.2
scipy==1.5.2
dateutils == 2.8.2
dateutils==2.8.2
numba==0.55.1
18 changes: 7 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
import setuptools
from modfin import __version__

with open("modfin/__init__.py", "r") as version_file:
VERSION = version_file.read()
VERSION = VERSION.split("__version__ = ")[1][1:6]

with open("README.md", "r", encoding="utf-8") as fh:
LONG_DESCRIPTION = fh.read()

NAME = "modfin"
VERSION = __version__
AUTHOR = "Gabriel Abrahao"
AUTHOR_EMAIL = "gabrielabrahaorr@gmail.com"
DESCRIPTION = "Modules for Financial Quantitative Analysis"
DESCRIPTION = "Modules for Quantitative Financial Analysis"
LONG_DESCRIPTION_CONTENT_TYPE = "text/markdown"
URL = 'https://github.com/GabrielAbra/modfin'
REQUIRES_PYTHON = ">=3.8.0"

# Package requirements
INSTALL_REQUIRES = [
'numpy',
'pandas',
'scipy',
'matplotlib',
'scikit-learn',
'numba',
]
INSTALL_REQUIRES = ['numpy', 'pandas', 'scipy',
'matplotlib', 'scikit-learn', 'numba']


setuptools.setup(
Expand Down

0 comments on commit 62b78c9

Please sign in to comment.