Skip to content

Commit

Permalink
setup.py has been modified.
Browse files Browse the repository at this point in the history
- Value of version argument has been normalized.
- MANIFEST.in has been replaced with setup.cfg.
  • Loading branch information
uvemas committed Dec 30, 2019
1 parent ab26633 commit a1b7470
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion ANNOUNCE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Share your experience
I'm very interested in your feedback about ViTables. Please send your
opinions, suggestions, bugs, etc. to the ViTables Users Group at

http://tech.groups.yahoo.com/group/vitables-users.
https://groups.google.com/forum/#!forum/vitables-users.

Thank you!

Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[options.data_files]
data = ANNOUNCE.txt, ChangeLog.txt, INSTALL.txt, LICENSE.txt
22 changes: 9 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def read(fname):
install_requires.append('PyQt5 (>=5.5.1)')

setup(name='ViTables',
version=read('VERSION'),
version=read('VERSION').rstrip('\r\n'),
description='A viewer for PyTables package',
long_description=read('README.txt'),
author='Vicent Mas',
Expand Down Expand Up @@ -70,16 +70,12 @@ def read(fname):
packages=find_packages(),
# Include data files that belong to the vitables package
package_data={
'vitables': ['LICENSE.html',
'htmldocs/*', 'htmldocs/*/*',
'icons/*', 'icons/*/*',
'*/*.ui', 'plugins/*/*.ui',
'plugins/*/*.ini',
'i18n/*.qm'
]
},
# In order to include files that do not belong to any package we have to
# add them to MANIFEST.in AND set the include_package_data keyword to
# True
# include_package_data=True,
'vitables': ['LICENSE.html',
'htmldocs/*', 'htmldocs/*/*',
'icons/*', 'icons/*/*',
'*/*.ui', 'plugins/*/*.ui',
'plugins/*/*.ini',
'i18n/*.qm'
]
}
)

0 comments on commit a1b7470

Please sign in to comment.