Skip to content

Commit

Permalink
Merge pull request #54 from ethanwhite/pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwhite committed Feb 18, 2023
2 parents 4ef6fe9 + 0f97dbb commit 5b13744
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 206 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
pip --version
pip install --prefer-binary lxml
- name: Test package installation
run: python setup.py install
run: pip install .
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Weecology
Copyright (c) 2019-2023 Weecology

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE README.md offlinedatasci/miniCran.R
2 changes: 2 additions & 0 deletions offlinedatasci/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
from . import main
from .main import *

__version__ = '0.1.0'
64 changes: 64 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "offlinedatasci"
description = "Download and configure common tools for teaching and doing data science without an internet connection"
readme = "README.md"
version = "0.1.0"

authors = [
{ name="Virnaliz Cruz" },
{ name="Colin Sauze" },
{ name="Jannetta Steyn" },
{ name="Abhishek Dasgupta" },
{ name="Ethan P. White" },
]

classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Education",
"Topic :: Scientific/Engineering",
]

dependencies = [
'wget',
'beautifulsoup4',
'lxml',
'python-pypi-mirror',
'requests',
]

requires-python = ">=3.6"

[project.urls]
"Carpentries Offline Website" = "https://carpentriesoffline.github.io/"
"Documentation" = "https://github.com/carpentriesoffline/offlinedatasci/#readme"
"CI" = "https://github.com/carpentriesoffline/offlinedatasci/actions"
"Source" = "https://github.com/carpentriesoffline/offlinedatasci"
"Tracker" = "https://github.com/carpentriesoffline/offlinedatasci/issues"

[project.scripts]
"offlinedatasci"="offlinedatasci:cli.main"

[tool.setuptools.packages]
find = {}

[tool.setuptools.package-data]
"*" = ["miniCran.R"]
204 changes: 0 additions & 204 deletions setup.py

This file was deleted.

0 comments on commit 5b13744

Please sign in to comment.