-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (38 loc) · 1.16 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
#!/usr/bin/env python
# For some reason, building exes with py2exe doesnt work right now.
from setuptools import setup
from distutils.command.install import INSTALL_SCHEMES
import os
for scheme in INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
data_files = []
for dirpath, dirnames, filenames in os.walk('grasscms'):
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'):
del dirnames[i]
if filenames:
data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
setup(name='GrassCMS',
version='1.0.0',
description='GrassCMS',
url='http://www.grasscms.com/',
download_url='http://www.grasscms.com',
license='GPL2',
requires=['sqlalchemy' ],
classifiers=[
'Development Status :: 4 - Beta',
],
long_description="GrassCMS, easy-to-use content management system",
packages=['grasscms'],
data_files=data_files,
package_data={
'grasscms' : [
# 'static/'
'templates/'
]
},
entry_points="""
[console_scripts]
grasscms = grasscms.server:server
"""
)