Skip to content

Commit

Permalink
Enhance classifiers, add PyPI badges and long description for PyPI (#107
Browse files Browse the repository at this point in the history
)

* drop support for Python 3.4 and enhance classifiers

* bring Python 3.4 back
  • Loading branch information
StrikerRUS authored and krinart committed Oct 18, 2019
1 parent e33fe2d commit 30abeef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ matrix:
include:
- python: 3.7
dist: xenial
sudo: true

install:
- pip install -r requirements-test.txt
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

[![Build Status](https://travis-ci.org/BayesWitnesses/m2cgen.svg?branch=master)](https://travis-ci.org/BayesWitnesses/m2cgen)
[![Coverage Status](https://coveralls.io/repos/github/BayesWitnesses/m2cgen/badge.svg?branch=master)](https://coveralls.io/github/BayesWitnesses/m2cgen?branch=master)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![License: MIT](https://img.shields.io/github/license/BayesWitnesses/m2cgen.svg)](https://github.com/BayesWitnesses/m2cgen/blob/master/LICENSE)
[![Python Versions](https://img.shields.io/pypi/pyversions/m2cgen.svg?logo=python&logoColor=white)](https://pypi.org/project/m2cgen)
[![PyPI Version](https://img.shields.io/pypi/v/m2cgen.svg?logo=pypi&logoColor=white)](https://pypi.org/project/m2cgen)

**m2cgen** (Model 2 Code Generator) - is a lightweight library which provides an easy way to transpile trained statistical models into a native code (Python, C, Java, Go, JavaScript).

Expand Down Expand Up @@ -91,7 +93,7 @@ public class Model {
}
```

**You can find more examples of generated code for different models/languages [here](https://github.com/BayesWitnesses/m2cgen/tree/master/generated_code_examples)**
**You can find more examples of generated code for different models/languages [here](https://github.com/BayesWitnesses/m2cgen/tree/master/generated_code_examples).**

## CLI

Expand Down
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
from setuptools import find_packages, setup

with open("README.md", encoding="utf-8") as f:
long_description = f.read()

setup(
name="m2cgen",
version="0.4.1",
url="https://github.com/BayesWitnesses/m2cgen",
description="Code-generation for various ML models into native code.",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(exclude=["tests.*", "tests"]),
package_data={
Expand All @@ -16,7 +21,9 @@
"Intended Audience :: Developers",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
Expand All @@ -25,7 +32,7 @@
"Programming Language :: Python :: Implementation :: CPython",
],
keywords="sklearn ml code-generation",
python_requires="!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
python_requires=">=3.4",
install_requires=[
"numpy",
"scipy",
Expand Down

0 comments on commit 30abeef

Please sign in to comment.