-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (58 loc) · 1.84 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
63
64
65
66
import os
from distutils.core import setup
def read_file_into_string(filename):
path = os.path.abspath(os.path.dirname(__file__))
filepath = os.path.join(path, filename)
try:
return open(filepath).read()
except IOError:
return ''
def get_readme():
for name in ('README', 'README.rst', 'README.md'):
if os.path.exists(name):
return read_file_into_string(name)
return ''
setup(
name='kb-pkimber-net',
packages=['web', 'web.tests', 'web.migrations', 'project', 'project.templatetags', 'project.management', 'project.management.commands', 'settings', 'dash', 'dash.tests'],
package_data={
'web': [
'static/*.*',
'static/web/*.*',
'static/web/css/*.*',
'templates/*.*',
'templates/web/*.*',
],
'project': [
'static/*.*',
'static/ico/*.*',
'static/img/*.*',
'static/img/project/*.*',
'templates/*.*',
'templates/project/*.*',
],
'dash': [
'templates/*.*',
'templates/contact/*.*',
'templates/dash/*.*',
],
},
version='0.1.69',
description='my web site',
author='Patrick Kimber',
author_email='[email protected]',
url='[email protected]:pkimber/pkimber_net.git',
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Framework :: Django :: 1.8',
'Topic :: Office/Business :: Scheduling',
],
long_description=get_readme(),
)