Skip to content

Commit

Permalink
Use setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDecan committed May 29, 2021
1 parent 122dbdc commit b7c4200
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 41 deletions.
39 changes: 0 additions & 39 deletions setup.cfg

This file was deleted.

47 changes: 45 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
import setuptools
from os import path
from setuptools import setup, find_packages
from codecs import open

setuptools.setup()
with open(
path.join(path.abspath(path.dirname(__file__)), "README.md"), encoding="utf-8"
) as f:
long_description = f.read()

setup(
name="portion",
version="2.2.0-dev",
license="LGPLv3",
author="Alexandre Decan",
url="https://github.com/AlexandreDecan/portion",
description="Python data structure and operations for intervals",
long_description=long_description,
long_description_content_type="text/markdown",
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Mathematics",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="interval operation range math",
packages=find_packages(include=["portion"]),
python_requires="~= 3.6",
install_requires=[
"sortedcontainers ~= 2.2",
],
extras_require={
"test": ["pytest ~= 5.0"],
"dev": ["black >= 20.8b", "pre-commit ~= 2.12"],
"ci": ["coverage ~= 5.0.3", "coveralls ~= 1.11.1"],
},
zip_safe=True,
)

0 comments on commit b7c4200

Please sign in to comment.