-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
40 lines (33 loc) · 1.11 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
# -*- coding: utf-8 -*-
import os
from os.path import join as osjoin
from setuptools import setup, find_packages
import boilerplate
def package_data(path):
data_files = {}
for dirpath, dirnames, filenames in os.walk(path):
if filenames:
data_files[dirpath] = [f for f in filenames]
return data_files
setup(
name='boilerplate',
version=boilerplate.VERSION,
description='Easy to use tool for painless project layout templating',
author='Kuba Janoszek',
author_email='[email protected]',
include_package_data=True,
url='https://github.com/jqb/boilerplate/tree/ver-%s' % boilerplate.VERSION,
packages=find_packages(),
package_data=package_data(osjoin("boilerplate", "tmpl")),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
scripts=['bin/boil'],
zip_safe=False,
)
# python setup.py build sdist bdist_wheel upload