-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (57 loc) · 2.37 KB
/
setup.py
File metadata and controls
61 lines (57 loc) · 2.37 KB
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
58
59
60
61
# ----------------------
# ls.joyful
# ----------------------
import sys
import os
import io
import subprocess
from pathlib import Path
from setuptools import setup, find_packages
# allow setup.py to be run from any path
here = Path(__file__).resolve().parent
os.chdir(str(here))
with io.open("README.rst", encoding="utf-8") as readme:
README = readme.read()
setup(name="ls.joyful",
use_scm_version={
'write_to': "ls/joyful/_version.py",
},
description="A FullCalendar front end to Joyous.",
long_description=README,
keywords=["calendar", "wagtail", "fullcalendar", "joyous", "joyful"],
classifiers=["Development Status :: 4 - Beta",
"Framework :: Django",
"Framework :: Wagtail",
"Framework :: Wagtail :: 2",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Office/Business :: Groupware",
"Topic :: Office/Business :: Scheduling",
"Topic :: Software Development :: Libraries :: Python Modules"
],
platforms="any",
author="David Moore",
author_email="david@linuxsoftware.co.nz",
url="https://github.com/linuxsoftware/ls.joyful",
license="BSD",
packages=find_packages(where=".", exclude=["ls.joyful.tests"]),
package_data={'ls.joyful': ["templates/joyful/*.html",
"templates/joyful/*/*.html",
"templates/joyful/*/*.xml",
"static/joyful/css/*.css",
"static/joyful/css/vendor/*.css",
"static/joyful/img/*.png",
"static/joyful/img/*.jpg",
"static/joyful/js/*.js",
"static/joyful/js/vendor/*.js",
"locale/*/LC_MESSAGES/django.po",
"locale/*/LC_MESSAGES/django.mo"
],
},
setup_requires=["setuptools_scm"],
install_requires=["ls.joyous>=1.0",
"wagtail>=2.0",],
zip_safe=False,
)