-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (51 loc) · 1.56 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
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
def make_readme(root_path):
consider_files = ("README.rst", "LICENSE", "CHANGELOG", "CONTRIBUTORS")
for filename in consider_files:
filepath = os.path.realpath(os.path.join(root_path, filename))
if os.path.isfile(filepath):
with open(filepath, mode="r", encoding="utf-8") as f:
yield f.read()
LICENSE = "BSD License"
URL = "https://github.com/kezabelle/livereloadish"
LONG_DESCRIPTION = "\r\n\r\n----\r\n\r\n".join(make_readme(HERE))
SHORT_DESCRIPTION = "A hacky livereload(ish) implementation with no dependencies"
KEYWORDS = (
"django",
"livereload",
)
setup(
name="django-livereloadish",
version="0.1.0",
author="OWNER",
author_email="[email protected]",
maintainer="OWNER",
maintainer_email="[email protected]",
description=SHORT_DESCRIPTION[0:200],
long_description=LONG_DESCRIPTION,
packages=[
"livereloadish",
],
include_package_data=True,
install_requires=[
"django>=2.2",
],
tests_require=[],
zip_safe=False,
keywords=" ".join(KEYWORDS),
license=LICENSE,
url=URL,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: {}".format(LICENSE),
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Framework :: Django",
],
)