-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
49 lines (43 loc) · 1.51 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
#coding:utf-8
import os
import sys
from setuptools import setup, find_packages
from crotal import version
def read(fname):
try:
import pypandoc
return pypandoc.convert(os.path.join(os.path.dirname(__file__), fname), 'rst')
except (IOError, ImportError):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "crotal",
version = version.__version__,
packages = find_packages(),
include_package_data = True,
entry_points = {
'console_scripts' : [
'crotal = crotal.main:main'
],
},
package_data = {
'crotal' : [ '*.data' ]
},
install_requires = ['mako', 'markdown>=2.3.1', 'PyYAML>=3.10','Pygments>=1.6', 'clint>=0.4.1', 'watchdog>=0.8.1'],
author = "Dinever",
author_email = '[email protected]',
url = "http://github.com/dinever/crotal",
description = 'A static site framework written in Python. Fast, powerful, and easy as 1, 2, 3.',
long_description = read('README.md'),
license = "GNU GPLv3",
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Natural Language :: English',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2 :: Only'
],
)