Make it pip installable
This commit is contained in:
parent
4220a2df1d
commit
ecc344bfaf
3 changed files with 40 additions and 8 deletions
3
MANIFEST.in
Normal file
3
MANIFEST.in
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
include README.rst
|
||||||
|
recursive-include youmap/static *
|
||||||
|
recursive-include youmap/templates *
|
38
setup.py
38
setup.py
|
@ -1,14 +1,36 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
import codecs
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
import youmap
|
||||||
|
|
||||||
|
long_description = codecs.open('README.rst', "r", "utf-8").read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='youmap',
|
name="youmap",
|
||||||
version='1.0',
|
version=youmap.__version__,
|
||||||
description="",
|
author=youmap.__author__,
|
||||||
author="Lincoln Loop",
|
author_email=youmap.__contact__,
|
||||||
author_email='info@lincolnloop.com',
|
description=youmap.__doc__,
|
||||||
url='',
|
keywords="django leaflet geodjango openstreetmap",
|
||||||
|
url=youmap.__homepage__,
|
||||||
|
download_url="https://bitbucket.org/yohanboniface/youmap_project/downloads",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
package_data={'youmap': ['static/*.*', 'templates/*.*']},
|
include_package_data=True,
|
||||||
scripts=['manage.py'],
|
platforms=["any"],
|
||||||
|
zip_safe=True,
|
||||||
|
long_description=long_description,
|
||||||
|
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
#"Environment :: Web Environment",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
#"License :: OSI Approved :: MIT License",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
|
"Programming Language :: Python",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
"Create maps with OpenStreetMap layers in a minute and embed them in your site."
|
||||||
|
VERSION = (0, 0, 1)
|
||||||
|
|
||||||
|
__author__ = 'Yohan Boniface'
|
||||||
|
__contact__ = "yb@enix.org"
|
||||||
|
__homepage__ = "https://bitbucket.org/yohanboniface/youmap_project"
|
||||||
|
__version__ = ".".join(map(str, VERSION))
|
Loading…
Reference in a new issue