Last active
May 18, 2019 08:44
-
-
Save katoozi/d9775c88c7e9384fbcdb3b6fb247ebeb to your computer and use it in GitHub Desktop.
simple setup.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import, unicode_literals | |
import os | |
from setuptools import find_packages, setup | |
version = __import__('package').__version__ | |
here = os.path.abspath(os.path.dirname(__file__)) | |
README = open(os.path.join(here, 'README.md')).read() | |
setup( | |
name='django-PackgeName', | |
version=version, | |
python_requires='>=3.6', | |
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests", "test_project"]), | |
platforms=['OS Independent'], | |
include_package_data=True, | |
description='description', | |
long_description=README, | |
long_description_content_type='text/markdown', # remove this line if you use .rst file | |
author='Your full name', | |
author_email='Your email', | |
url='repo url', | |
license='MIT', | |
zip_safe=False, | |
install_requires=[ | |
'Django>=1.11,<2.3', | |
"django-ckeditor>=5.4.0", | |
"django-filer>=1.3.2", | |
"django-mathfilters>=0.4.0", | |
"phonenumbers>=8.10.10", | |
"django-easy-select2>=1.5.2", | |
"django-phonenumber-field>=2.3.1" | |
], | |
classifiers=[ | |
'Environment :: Web Environment', | |
'Development Status :: 5 - Production/Stable', | |
'Intended Audience :: Developers', | |
'License :: OSI Approved :: MIT License', | |
'Operating System :: OS Independent', | |
'Programming Language :: Python', | |
'Programming Language :: Python :: 3.6', | |
'Programming Language :: Python :: 3.7', | |
'Framework :: Django', | |
'Framework :: Django :: 1.11', | |
'Framework :: Django :: 2.1', | |
'Framework :: Django :: 2.2', | |
'Topic :: Internet :: WWW/HTTP', | |
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', | |
], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment