-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (37 loc) · 1.17 KB
/
setup.py
File metadata and controls
43 lines (37 loc) · 1.17 KB
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
#!/usr/bin/env python
import sys, os
from setuptools import setup, find_packages
from genthemall.core import get_version
# Find template files and package them
data_files = []
for dirpath, dirnames, filenames in os.walk('genthemall'):
files = []
for f in filenames:
if f.endswith('.gt'):
files.append(os.path.join(dirpath, f))
if files:
data_files.append((dirpath, files))
setup (
name = 'GenThemAll',
version = get_version(),
description = 'GenThemAll is a simple, Pythonic tool for genernate code and whatevery you want.',
author = 'Doni',
author_email = '[email protected]',
url = 'https://github.com/donilan/python-genthemall',
license = 'Apache License, Version 2.0',
packages = find_packages(),
test_suite = 'nose.collector',
tests_require = ['nose'],
install_requires = ['config', 'mako'],
entry_points = {
'console_scripts': [
'genthemall = genthemall.main:main',
]
},
data_files = data_files,
classifiers = [
'Environment :: Console',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: Apache Software License'
],
)