-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
executable file
·45 lines (38 loc) · 1.25 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
#!/usr/bin/env python
import os
import codecs
from distutils.config import PyPIRCCommand
from setuptools import setup, find_packages
dirname = 'geo'
app = __import__(dirname)
def read(*parts):
here = os.path.abspath(os.path.dirname(__file__))
return codecs.open(os.path.join(here, *parts), 'r').read()
tests_require = read('geo/requirements/testing.pip')
setup(
name=app.NAME,
version=app.get_version(),
url='https://github.com/saxix/django-geo',
description="A Django application which manage administrative geographical data.",
download_url='https://github.com/saxix/django-geo/tarball/master',
author='sax',
author_email='[email protected]',
license='BSD',
packages=find_packages('.'),
include_package_data=True,
platforms=['any'],
install_requires=read('geo/requirements/install.pip'),
command_options={
'build_sphinx': {
'version': ('setup.py', app.VERSION),
'release': ('setup.py', app.VERSION)}
},
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Intended Audience :: Developers',
],
long_description=open('README.rst').read()
)