-
Notifications
You must be signed in to change notification settings - Fork 112
/
setup.py
45 lines (40 loc) · 1.58 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
41
42
43
44
45
import codecs
from os.path import abspath, dirname, join
from setuptools import find_packages, setup
here = abspath(dirname(__file__))
def read_relative_file(filename):
"""Returns contents of the given file, whose path is supposed relative
to this module."""
with codecs.open(join(here, filename), encoding="utf-8") as f:
content = f.read()
return content
if __name__ == "__main__":
setup(
name="django-chartjs",
version=read_relative_file("VERSION").strip(),
description="Django Chart.js and Hightchart ajax views",
long_description=read_relative_file("README.rst"),
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.10",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
keywords="django chart chartjs highchart ajax class based views",
author="Rémy Hubscher",
author_email="[email protected]",
url="https://github.com/peopledoc/django-chartjs",
license="BSD Licence",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
)