Skip to content

Commit

Permalink
docs (pypi): Add pypi setup files
Browse files Browse the repository at this point in the history
  • Loading branch information
mehran-rahmanzadeh committed Aug 14, 2021
1 parent d1211e0 commit 3f62b56
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include iranian_cities/data/*.csv
include README.md
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Django>=3.2.3
setuptools>=56.2.0
autopep8>=1.5.7
28 changes: 28 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[metadata]
name = django-iranian-cities
description = iranian city field for Django
author = Sage Team
author_email = [email protected]
license = GNU
url = 'https://github.com/sageteam-org/django-iranian-cities',
classifiers =
Environment :: Web Environment
Framework :: Django
Framework :: Django :: 3.1
Framework :: Django :: 3.2
Intended Audience :: Developers
License :: OSI Approved :: GNU Affero General Public License v3
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Dynamic Content

[options]
include_package_data = true
python_requires = >=3.8
20 changes: 20 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from setuptools import setup, find_packages

setup(
name='django-iranian-cities',
packages=find_packages(exclude=['tests*']),
package_data={'iranian_cities/data': ['*.txt']},
include_package_data=True,
version='0.1.0',
description='...',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Sage Team',
author_email='[email protected]',
url='https://github.com/sageteam-org/django-iranian-cities',
download_url='https://github.com/sageteam-org/django-iranian-cities/archive/refs/tags/1.5.0.tar.gz',
keywords=['django', 'python', 'fields', 'city field'],
install_requires=[
'Django',
]
)

0 comments on commit 3f62b56

Please sign in to comment.