-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change package to src layout; fixed warning messages from changes in …
…pandas
- Loading branch information
jarathomas
committed
Apr 3, 2024
1 parent
82ab851
commit 18b4143
Showing
16 changed files
with
69 additions
and
65 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
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 README.md | ||
include LICENSE | ||
include interva/data/*.csv | ||
include interva/data/*.xls | ||
include interva/data/*.py | ||
include src/interva/data/*.csv | ||
include src/interva/data/*.xls | ||
include src/interva/data/*.py |
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,3 +1,51 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "interva" | ||
version = "0.0.7" | ||
authors = [ | ||
{name = "Sherry Zhao", email = "[email protected]"}, | ||
{name = "Jason Thomas", email = "[email protected]"}, | ||
] | ||
maintainers = [ | ||
{name = "Jason Thomas", email = "[email protected]"}, | ||
] | ||
description = "Python implementation of the InterVA Algorithm." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
keywords = ["verbal autopsy",] | ||
license = {text = "GPLv3"} | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = [ | ||
"pandas", | ||
"numpy", | ||
"vacheck", | ||
"xlrd", | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/verbal-autopsy-software/interva" | ||
"Bug Tracker" = "https://github.com/verbal-autopsy-software/interva/issues" | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.setuptools.package-data] | ||
"interva.data" = ["*.csv"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = [ | ||
"--import-mode=importlib", | ||
] | ||
|
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,47 +1,3 @@ | ||
import os | ||
from codecs import open | ||
from setuptools import setup, find_namespace_packages | ||
from setuptools import setup | ||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
about = {} | ||
with open(os.path.join(here, "interva", "__version__.py"), "r", "utf-8") as f: | ||
exec(f.read(), about) | ||
|
||
with open("README.md", "r", "utf-8") as f: | ||
readme = f.read() | ||
|
||
|
||
setup( | ||
name=about["__title__"], | ||
version=about["__version__"], | ||
author=about["__author__"], | ||
author_email=about["__author_email__"], | ||
description=about["__description__"], | ||
long_description=readme, | ||
long_description_content_type="text/markdown", | ||
url=about["__url__"], | ||
license=about["__license__"], | ||
packages=find_namespace_packages(), | ||
include_package_data=True, | ||
package_dir={"": "."}, | ||
package_data={ | ||
"interva.data": ["*.csv", "*.xls"], | ||
}, | ||
install_requires=[ | ||
"pandas", | ||
"xlrd", | ||
"numpy", | ||
"vacheck", | ||
], | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Operating System :: OS Independent", | ||
], | ||
) | ||
setup() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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 @@ | ||
[tox] | ||
envlist = py37, py38, py39, py310, py311 | ||
envlist = py38, py38, py39, py310, py311, py312 | ||
|
||
[testenv] | ||
deps = | ||
|