-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathsetup.py
36 lines (32 loc) · 1.15 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
# -*- coding: utf-8 -*-
import re
from setuptools import setup, find_packages
version = re.search(
r"VERSION = ['\"](.*)['\"]",
open("django_settings/__init__.py").read()
).group(1)
setup(
name='django-settings',
version=version,
description='Simple django reusable application for storing project settings in database.',
author='Kuba Janoszek',
author_email='[email protected]',
url='http://github.com/jqb/django-settings',
packages=find_packages(exclude=['example*', 'tests*']),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Framework :: Django',
],
zip_safe=False,
)
# Usage of setup.py:
# $> python setup.py register # registering package on PYPI
# $> python setup.py build sdist upload # build, make source dist and upload to PYPI