-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
52 lines (43 loc) · 1.65 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from setuptools import setup, find_packages
with open('README.md', 'r') as f:
long_description = f.read()
requirements = []
for line in open('requirements.txt'):
li = line.strip()
if not li.startswith('#'):
requirements.append(line.rstrip())
VERSION = (0, 0, 7) # (1, 0, 7, 'dev0')
__version__ = '.'.join(map(str, VERSION))
setup(
# Nome (não precisa ser o nome do repositório, nem de qualquer pasta...)
name='tjsp',
version=__version__,
author='Michel Metran',
author_email='[email protected]',
description='Série Temporal das Taxas do Tribunal de Justiça do Estado de São Paulo e métodos para recuperar informações das taxas',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/gaemapiracicaba/sp_tjsp_correcao_monetaria',
keywords='python, tjsp, finance',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Natural Language :: Portuguese',
'Intended Audience :: Developers',
],
# Qual python? e packages?
python_requires='>=3',
install_requires=requirements,
# Entry
# Our packages live under src but src is not a package itself
#package_dir={'': 'ufesp'},
# Quando são diversos módulos...
#packages=find_packages('ufesp', exclude=['test']),
packages=['tjsp'],
# Apenas um módulo...
# py_modules=['decreto_estadual_8468'], # Quando se trata apenas de um módulo
# Dados
include_package_data=True,
package_data={'': ['data/tabela_debitos_judiciais.csv']},
)