-
Notifications
You must be signed in to change notification settings - Fork 197
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (49 loc) · 1.87 KB
/
setup.py
File metadata and controls
52 lines (49 loc) · 1.87 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import io
import os
from setuptools import setup, find_packages
# 1) Bump this version each release:
VERSION = '1.9.2'
# 2) Pull your README.md in as long_description:
here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='forex-python',
version=VERSION,
author='Micro Pyramid Informatic Pvt. Ltd.',
author_email='hello@micropyramid.com',
description='Free foreign exchange rates and currency conversion.',
long_description=long_description,
long_description_content_type='text/markdown', # so PyPI renders your README properly
url='https://github.com/MicroPyramid/forex-python',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
install_requires=[
'requests>=2.0',
'simplejson>=3.0',
],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4',
classifiers=[
# audience
'Intended Audience :: Developers',
'Topic :: Software Development :: Internationalization',
# license
'License :: OSI Approved :: MIT License',
# OS
'Operating System :: OS Independent',
# languages
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
project_urls={ # these show up as “Project Links” on PyPI
'Documentation': 'https://forex-python.readthedocs.io/',
'Source': 'https://github.com/MicroPyramid/forex-python',
'Tracker': 'https://github.com/MicroPyramid/forex-python/issues',
},
)