-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
62 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
include MANIFEST.in | ||
include VERSION | ||
include rdata/VERSION | ||
include LICENSE | ||
include rdata/py.typed | ||
include *.txt |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
language or its libraries, and thus it is released under a MIT license. | ||
""" | ||
import os | ||
import pathlib | ||
import sys | ||
|
||
from setuptools import find_packages, setup | ||
|
@@ -16,44 +17,51 @@ | |
|
||
DOCLINES = (__doc__ or '').split("\n") | ||
|
||
with open(os.path.join(os.path.dirname(__file__), | ||
'VERSION'), 'r') as version_file: | ||
with open( | ||
pathlib.Path(os.path.dirname(__file__)) / 'rdata' / 'VERSION', | ||
'r', | ||
) as version_file: | ||
version = version_file.read().strip() | ||
|
||
setup(name='rdata', | ||
version=version, | ||
description=DOCLINES[1], | ||
long_description="\n".join(DOCLINES[3:]), | ||
url='https://github.com/vnmabus/rdata', | ||
author='Carlos Ramos Carreño', | ||
author_email='[email protected]', | ||
include_package_data=True, | ||
platforms=['any'], | ||
license='MIT', | ||
packages=find_packages(), | ||
python_requires='>=3.7, <4', | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: MIT License', | ||
'Natural Language :: English', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Topic :: Scientific/Engineering :: Mathematics', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Typing :: Typed', | ||
], | ||
keywords=['rdata', 'r', 'dataset'], | ||
install_requires=['numpy', | ||
'xarray', | ||
'pandas'], | ||
setup_requires=pytest_runner, | ||
tests_require=['pytest-cov', | ||
'numpy>=1.14' # The printing format for numpy changes | ||
], | ||
test_suite='rdata.tests', | ||
zip_safe=False) | ||
setup( | ||
name='rdata', | ||
version=version, | ||
description=DOCLINES[1], | ||
long_description="\n".join(DOCLINES[3:]), | ||
url='https://github.com/vnmabus/rdata', | ||
author='Carlos Ramos Carreño', | ||
author_email='[email protected]', | ||
include_package_data=True, | ||
platforms=['any'], | ||
license='MIT', | ||
packages=find_packages(), | ||
python_requires='>=3.7, <4', | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: MIT License', | ||
'Natural Language :: English', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Topic :: Scientific/Engineering :: Mathematics', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Typing :: Typed', | ||
], | ||
keywords=['rdata', 'r', 'dataset'], | ||
install_requires=[ | ||
'numpy', | ||
'xarray', | ||
'pandas', | ||
], | ||
setup_requires=pytest_runner, | ||
tests_require=[ | ||
'pytest-cov', | ||
'numpy>=1.14', # The printing format for numpy changes | ||
], | ||
test_suite='rdata.tests', | ||
zip_safe=False, | ||
) |