Skip to content

Commit

Permalink
deployed to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesir committed Jan 31, 2024
1 parent fc1ec14 commit 548f239
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 41 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Icon
/tests
.vscode
Icon
QuantStats_Lumi.egg-info/*
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ Here's an example of a simple tear sheet analyzing a strategy:
Quick Start
===========

Install QuantStats using pip:
Install QuantStats Lumi using pip:

.. code:: bash
$ pip install quantstats_lumi
$ pip install quantstats-lumi
.. code:: python
Expand Down
2 changes: 1 addition & 1 deletion quantstats_lumi/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.0.62"
version = "0.0.71"
71 changes: 33 additions & 38 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,76 +8,71 @@
by providing them with in-depth analytics and risk metrics.
"""

from setuptools import setup, find_packages
# from codecs import open
import io
from os import path

from setuptools import find_packages, setup

# --- get version ---
version = "unknown"
with open("quantstats/version.py") as f:
with open("quantstats_lumi/version.py") as f:
line = f.read().strip()
version = line.replace("version = ", "").replace('"', '')
version = line.replace("version = ", "").replace('"', "")
# --- /get version ---

here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
with io.open(path.join(here, 'README.rst'), encoding='utf-8') as f:
with io.open(path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()

with io.open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
with io.open(path.join(here, "requirements.txt"), encoding="utf-8") as f:
requirements = [line.rstrip() for line in f]

setup(
name='QuantStats',
name="quantstats-lumi",
version=version,
description='Portfolio analytics for quants',
description="Portfolio analytics for quants",
long_description=long_description,
url='https://github.com/ranaroussi/quantstats',
author='Ran Aroussi',
author_email='ran@aroussi.com',
license='Apache Software License',
url="https://github.com/Lumiwealth/quanstats_lumi",
author="Robert Grzesik (Lumiwealth)",
author_email="rob@lumiwealth.com",
license="Apache Software License",
classifiers=[
'License :: OSI Approved :: Apache Software License',
"License :: OSI Approved :: Apache Software License",
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
# 'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',

'Operating System :: OS Independent',

'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Science/Research',

'Topic :: Office/Business :: Financial',
'Topic :: Office/Business :: Financial :: Investment',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',

"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
# 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],

platforms=['any'],
platforms=["any"],
keywords="""quant algotrading algorithmic-trading quantitative-trading
quantitative-analysis algo-trading visualization plotting""",
packages=find_packages(exclude=['contrib', 'docs', 'tests', 'examples']),
packages=find_packages(exclude=["contrib", "docs", "tests", "examples"]),
install_requires=requirements,
entry_points={
'console_scripts': [
'sample=sample:main',
"console_scripts": [
"sample=sample:main",
],
},

include_package_data=True,
# package_data={
# 'static': 'quantstats/report.html*'
Expand Down

0 comments on commit 548f239

Please sign in to comment.