diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..c539018 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include iranian_cities/data/*.csv +include README.md \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a944b1c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +Django>=3.2.3 +setuptools>=56.2.0 +autopep8>=1.5.7 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..a29160f --- /dev/null +++ b/setup.cfg @@ -0,0 +1,28 @@ +[metadata] +name = django-iranian-cities +description = iranian city field for Django +author = Sage Team +author_email = mail@sageteam.org +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 \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..5fafe1c --- /dev/null +++ b/setup.py @@ -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='mail@sageteam.org', + 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', + ] +)