-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (29 loc) · 1.04 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
from pathlib import Path
from setuptools import setup, find_packages
def post_install():
""" Implement post installation routine """
with open('./requirements.txt') as f:
install_requires = f.read().splitlines()
return install_requires
def pre_install():
""" Implement pre installation routine """
# read the contents of your README file
global long_description
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
pre_install()
setup(
name='Iran_cities_info',
version='0.1.0',
description='Iran cities Information: python package to represent Iran\'s province and city information.',
long_description=long_description,
long_description_content_type='text/markdown',
packages=["Iran_cities_info"],
setup_requires=[],
url='https://github.com/BenyaminZojaji/Iran_cities_info',
license='',
author='Benyamin Zojaji',
author_email='[email protected]',
include_package_data=True,
install_requires=post_install(),
)