-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
40 lines (36 loc) · 1.32 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from setuptools import setup, find_packages
import os
# Find mgc version.
PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
for line in open(os.path.join(PROJECT_PATH, "kdg", "__init__.py")):
if line.startswith("__version__ = "):
VERSION = line.strip().split()[2][1:-1]
with open("README.rst", mode="r") as f:
LONG_DESCRIPTION = f.read()
with open("requirements.txt", mode="r") as f:
REQUIREMENTS = f.read()
setup(
name="kdg",
version=VERSION,
author="Jayanta Dey",
author_email="[email protected]",
maintainer="Jayanta Dey",
maintainer_email="[email protected]",
description="A a package for exploring and using kernel density algorithms",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/jdey4/kdg/",
license="MIT",
classifiers=[
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Mathematics",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8"
],
install_requires=REQUIREMENTS,
packages=find_packages(exclude=["tests", "tests.*", "tests/*"]),
include_package_data=True
)