-
Notifications
You must be signed in to change notification settings - Fork 70
/
setup.py
62 lines (54 loc) · 1.82 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
58
59
60
61
62
import os
from setuptools import setup, find_packages
import chroniker
CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(CURRENT_DIR, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def get_reqs(*fns):
lst = []
for fn in fns:
for package in open(os.path.join(CURRENT_DIR, fn), encoding='utf-8').readlines():
package = package.strip()
if not package:
continue
lst.append(package.strip())
return lst
setup(
name="django-chroniker",
version=chroniker.__version__,
packages=find_packages(),
scripts=['bin/chroniker'],
package_data={
'': ['docs/*.txt', 'docs/*.py'],
'chroniker': [
'static/*/*/*.*',
'templates/*.*',
'templates/*/*.*',
'templates/*/*/*.*',
'templates/*/*/*/*.*',
'fixtures/*',
'tests/fixtures/*',
],
},
author="Chris Spencer",
author_email="[email protected]",
description="Easily control cron jobs via Django's admin.",
long_description=long_description,
long_description_content_type='text/markdown',
license="BSD",
url="https://github.com/chrisspen/django-chroniker",
#https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 6 - Mature',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Framework :: Django',
],
zip_safe=False,
install_requires=get_reqs('requirements-min-django.txt', 'requirements.txt'),
tests_require=get_reqs('requirements-test.txt'),
)