-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
54 lines (49 loc) · 1.74 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
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
root_dir_path = os.path.dirname(os.path.abspath(__file__))
long_description = open(os.path.join(root_dir_path, "README.md")).read()
data_files = []
for dirpath, dirnames, filenames in os.walk('.'):
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'):
del dirnames[i]
if '__init__.py' in filenames:
continue
elif filenames:
data_files.append(
[dirpath, [os.path.join(dirpath, f) for f in filenames]])
setup(
name="django-async-include",
version="0.6.10",
author="Diego J. Romero López",
author_email="[email protected]",
description=(
"A simple application for Django to include "
"(and fetch) asynchronous templates."
),
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
'Programming Language :: Python :: Implementation :: CPython',
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries',
],
install_requires=[
"pycryptodome>=3.10.1",
"jsonpickle>=2.0.0"
],
license="MIT",
keywords="django template asynchronous template_tag",
url='https://github.com/diegojromerolopez/django-async-include',
packages=find_packages('.'),
data_files=data_files,
include_package_data=True,
)