Skip to content
Newer
Older
100644 39 lines (33 sloc) 1.02 KB
1a15bf2 @kumar303 Makes funfactory fully installable via setup.py
kumar303 authored Jul 19, 2011
1 import os
25b245b @kumar303 Command to install Playdoh + support for pythonic layouts
kumar303 authored Jan 8, 2012
2 import re
3
4 from setuptools import setup, find_packages
5
6
7 version = None
8 for line in open('./funfactory/__init__.py'):
9 m = re.search('__version__\s*=\s*(.*)', line)
10 if m:
11 version = m.group(1).strip()[1:-1] # quotes
12 break
13 assert version
1a15bf2 @kumar303 Makes funfactory fully installable via setup.py
kumar303 authored Jul 19, 2011
14
40dbdb0 @kumar303 Let the fun begin
kumar303 authored Jul 15, 2011
15
16 setup(
17 name='funfactory',
25b245b @kumar303 Command to install Playdoh + support for pythonic layouts
kumar303 authored Jan 9, 2012
18 version=version,
40dbdb0 @kumar303 Let the fun begin
kumar303 authored Jul 15, 2011
19 description="Mozilla's Django app skeleton.",
1a15bf2 @kumar303 Makes funfactory fully installable via setup.py
kumar303 authored Jul 19, 2011
20 long_description=open(os.path.join(os.path.dirname(__file__),
21 'README.rst')).read(),
40dbdb0 @kumar303 Let the fun begin
kumar303 authored Jul 15, 2011
22 author='Kumar McMillan and contributors',
23 author_email='',
25b245b @kumar303 Command to install Playdoh + support for pythonic layouts
kumar303 authored Jan 9, 2012
24 license="BSD License",
25 url='https://github.com/mozilla/funfactory',
40dbdb0 @kumar303 Let the fun begin
kumar303 authored Jul 15, 2011
26 include_package_data=True,
27 classifiers = [
28 'Intended Audience :: Developers',
29 'Natural Language :: English',
30 'Operating System :: OS Independent',
31 'Programming Language :: Python :: 2.6',
32 ],
25b245b @kumar303 Command to install Playdoh + support for pythonic layouts
kumar303 authored Jan 9, 2012
33 packages=find_packages(exclude=['tests']),
34 entry_points="""
35 [console_scripts]
36 funfactory = funfactory.cmd:main
37 """,
38 install_requires=[])
Something went wrong with that request. Please try again.