-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (51 loc) · 1.92 KB
/
setup.py
File metadata and controls
63 lines (51 loc) · 1.92 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
53
54
55
56
57
58
59
60
61
62
63
"""A setuptools based setup module for fdic
Copyright (c) 2023, Emin Martinian, AOCKS LLC - All Rights Reserved
See LICENSE at the top-level of this distribution for more information
or write to emin@aocks.com.
"""
# see also setup.cfg if it exists
from os import path
from setuptools import setup, find_packages
from fdic import __version__
def get_readme():
'Get the long description from the README file'
here = path.abspath(path.dirname(__file__))
# README.rst is autogenerated from README.org via something like
# pandoc --from=org --to=rst --output=README.rst README.org
with open(path.join(here, 'README.rst'), encoding='utf-8') as my_fd:
result = my_fd.read()
return result
setup(
name='fdic',
version=__version__,
description='Simple tools for accessing FDIC public data.',
long_description=get_readme(),
url='http://github.com/aocks/fdic',
author='Emin Martinian',
author_email='emin.martinian@gmail.com',
license='agpl-3.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
],
keywords='fdic bank data tools',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
include_package_data=True,
install_requires=['requests'],
# If there are data files included in your packages that need to be
# installed, specify them here.
package_data={
'sample': ['package_data.dat'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
)