Skip to content

Commit

Permalink
Merge pull request #16 from hoxo-m/v0.3
Browse files Browse the repository at this point in the history
for PyPI
  • Loading branch information
hoxo-m authored Oct 10, 2022
2 parents c906a03 + 9b423eb commit 5757f36
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 25 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
language: python

python:
- "2.7"
- "3.4"
- "3.5"
- "3.9"
- "3.10"

# Setup anaconda
before_install:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YEAR: 2016-2019
YEAR: 2016-2022
COPYRIGHT HOLDER: Koji Makiyama
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ init:
pip install -r requirements.txt

test:
nosetests
pytest

docs:
cd docs && make html
Expand Down
2 changes: 0 additions & 2 deletions densratio/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
densratio.core
~~~~~~~~~~~~~~
Expand Down
2 changes: 0 additions & 2 deletions densratio/density_ratio.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

from pprint import pformat
from re import sub

Expand Down
2 changes: 0 additions & 2 deletions densratio/helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

from numpy import array, matrix, ndarray, result_type


Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nose
pytest
sphinx
numpy
11 changes: 4 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

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

setup(
name='densratio',
version='0.2.2.9000',
version='0.3.0',
description='A Python Package for Density Ratio Estimation',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/hoxo-m/densratio_py',
author='Koji Makiyama, Ameya Daigavane',
author='Koji Makiyama, Ameya Daigavane, Krzysztof Mierzejewski',
author_email='hoxo.smile@gmail.com',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
keywords='density ratio estimation, anomaly detection, change point detection, covariate shift',
packages=find_packages(exclude=('tests', 'docs')),
install_requires=['numpy'],
project_urls={
'Bug Reports': 'https://github.com/hoxo-m/densratio_py/issues',
'Say Thanks!': 'https://saythanks.io/to/hoxo-m',
'Source': 'https://github.com/hoxo-m/densratio_py',
},
license="MIT + file LICENSE",
Expand Down
2 changes: 0 additions & 2 deletions tests/context.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import sys
import os
path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../densratio/'))
Expand Down
2 changes: 0 additions & 2 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import unittest

from scipy.stats import norm, multivariate_normal
Expand Down
2 changes: 0 additions & 2 deletions tests/test_helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import unittest

from numpy import array, matrix
Expand Down

0 comments on commit 5757f36

Please sign in to comment.