Skip to content

Commit

Permalink
Add dependencies to the package
Browse files Browse the repository at this point in the history
  • Loading branch information
Gawaboumga committed Aug 3, 2021
1 parent d82bd05 commit 9243720
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions iso20275/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from functools import singledispatch


__version__ = 0, 0, 14
__version__ = 0, 0, 15
__all__ = 'Elf',


Expand Down Expand Up @@ -183,7 +183,7 @@ def __new__(cls, name, bases, clsdct):
elfclass = type.__new__(cls, name, bases, clsdct)

# by default, the latest cleaned CSV source is used
elfclass._codes = read_entries(get_csv_paths(newest=True, cleaned=True, additional=False)[0])
elfclass._codes = read_entries(get_csv_paths(newest=True, cleaned=True, additional=True)[0])
return elfclass

def __getitem__(cls, key):
Expand Down
15 changes: 13 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,18 @@ def get_install_requirements():
license='MIT',
author='Youri Hubaut',
packages=find_packages(),
package_data={'iso20275': ['ISO-20275 - 2019-11-06.csv', 'Cleaned - ISO-20275 - 2019-11-06.csv']},
package_data={'iso20275': [
'ISO-20275 - 2020-11-19.csv'
'ISO-20275 - 2020-06-10.csv',
'ISO-20275 - 2019-11-06.csv',
'ISO-20275 - 2017-11-30.csv',
'Cleaned - ISO-20275 - 2020-11-19.csv'
'Cleaned - ISO-20275 - 2020-06-10.csv',
'Cleaned - ISO-20275 - 2019-11-06.csv',
'Cleaned - ISO-20275 - 2017-11-30.csv'
'Cleaned - with additional - ISO-20275 - 2020-11-19.csv',
'Cleaned - with additional - ISO-20275 - 2019-11-06.csv',
]},
url='https://github.com/Gawaboumga/iso-20275-python',
keywords='internationalization i18n elf iso20275 entity legal types',
install_requires=get_install_requirements(),
Expand All @@ -43,10 +54,10 @@ def get_install_requirements():
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: Stackless',
Expand Down

0 comments on commit 9243720

Please sign in to comment.