-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·42 lines (36 loc) · 1.2 KB
/
setup.py
File metadata and controls
executable file
·42 lines (36 loc) · 1.2 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
import os
from setuptools import find_packages, setup
# not so bad: http://joebergantine.com/blog/2015/jul/17/releasing-package-pypi/
version = __import__("djangocms_misc").__version__
def read(fname):
# read the contents of a text file
return open(os.path.join(os.path.dirname(__file__), fname)).read() # noqa
setup(
name="djangocms-misc",
version=version,
url="https://github.com/bnzk/djangocms-misc",
license="MIT Licence",
platforms=["OS Independent"],
description="djangocms misc",
long_description=read("PYPI.md"),
long_description_content_type="text/markdown",
author="Ben Stähli",
author_email="bnzk@bnzk.ch",
packages=find_packages(),
install_requires=(
# 'Django>=1.3,<1.5', # no need to limit while in development
"django>=1.8",
"django-appconf>=1.0",
),
include_package_data=True,
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
],
)