-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORE: Cave and start using pyproject.toml to install the package
- Loading branch information
Showing
5 changed files
with
136 additions
and
74 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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[build-system] | ||
requires = ["setuptools>=59.6.0", "setuptools-scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "simeon" | ||
authors = [ | ||
{name = "MIT Institutional Research", email = "irx@mit.edu"}, | ||
] | ||
description = "A CLI tool to help process research data from edX" | ||
readme = "README.rst" | ||
requires-python = ">=3.6" | ||
keywords = ["research", "edx", "MOOC", "education", "online-learning"] | ||
license = {text = "MIT License"} | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Console", | ||
"Intended Audience :: Science/Research", | ||
"Natural Language :: English", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"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", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Text Processing", | ||
] | ||
dependencies = [ | ||
"boto3>=1.16.57", | ||
"google-cloud-bigquery>=2.6.2", | ||
"google-cloud-storage>=1.35.0", | ||
"jinja2", | ||
"python-dateutil>=2.8.1", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
geoip = ["geoip2"] | ||
test = ["black", "isort", "pip-tools", "sphinx", "tox"] | ||
dev = ["black", "isort", "pip-tools", "sphinx", "tox"] | ||
|
||
[tool.setuptools.package-data] | ||
"simeon.upload" = ["schemas/*.json"] | ||
"simeon.report" = ["queries/*.sql"] | ||
"simeon.scripts" = ["data/*.csv"] | ||
|
||
[project.scripts] | ||
simeon = "simeon.scripts.simeon:main" | ||
simeon-geoip = "simeon.scripts.geoip:main" | ||
simeon-youtube = "simeon.scripts.youtube:main" | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/MIT-IR/simeon" | ||
"Bug Tracker" = "https://github.com/MIT-IR/simeon/issues" |
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,2 +1,4 @@ | ||
black | ||
isort | ||
Sphinx>=3.4.3 | ||
tox>=3.21.2 |
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,62 +1,69 @@ | ||
import os | ||
|
||
from setuptools import find_packages, setup | ||
|
||
# Get the value of __version__ from the library's __init__.py file | ||
exec(open(os.path.join('simeon', '__init__.py')).read()) | ||
exec(open(os.path.join("simeon", "__init__.py")).read()) | ||
|
||
setup( | ||
name='simeon', | ||
version=globals().get('__version__', '0.0.24'), | ||
author='MIT Institutional Research', | ||
author_email='irx@mit.edu', | ||
packages=find_packages(exclude=('docs',)), | ||
url='https://github.com/MIT-IR/simeon', | ||
license='MIT LICENSE', | ||
name="simeon", | ||
version=globals().get("__version__", "0.0.25"), | ||
author="MIT Institutional Research", | ||
author_email="irx@mit.edu", | ||
packages=find_packages(exclude=("docs",)), | ||
url="https://github.com/MIT-IR/simeon", | ||
license="MIT LICENSE", | ||
keywords=[ | ||
'edx research data', 'mitx', 'edx', | ||
'MOOC', 'education', 'online learning' | ||
"edx research data", | ||
"mitx", | ||
"edx", | ||
"MOOC", | ||
"education", | ||
"online learning", | ||
], | ||
python_requires='>=3.6', | ||
description='A CLI tool to help process research data from edX', | ||
long_description=open('README.rst').read(), | ||
# include_package_data=True, | ||
python_requires=">=3.6", | ||
description="A CLI tool to help process research data from edX", | ||
long_description=open("README.rst").read(), | ||
entry_points={ | ||
'console_scripts': [ | ||
'simeon=simeon.scripts.simeon:main', | ||
'simeon-geoip=simeon.scripts.geoip:main', | ||
'simeon-youtube=simeon.scripts.youtube:main', | ||
"console_scripts": [ | ||
"simeon=simeon.scripts.simeon:main", | ||
"simeon-geoip=simeon.scripts.geoip:main", | ||
"simeon-youtube=simeon.scripts.youtube:main", | ||
], | ||
}, | ||
install_requires=[ | ||
'boto3>=1.16.57', | ||
'google-cloud-bigquery>=2.6.2', | ||
'google-cloud-storage>=1.35.0', | ||
'jinja2', | ||
'python-dateutil>=2.8.1', | ||
"boto3>=1.16.57", | ||
"google-cloud-bigquery>=2.6.2", | ||
"google-cloud-storage>=1.35.0", | ||
"jinja2", | ||
"python-dateutil>=2.8.1", | ||
], | ||
extras_require={ | ||
'geoip': ['geoip2'], | ||
'test': ['sphinx', 'tox'], | ||
"geoip": ["geoip2"], | ||
"test": ["black", "isort", "pip-tools", "sphinx", "tox"], | ||
"dev": ["black", "isort", "pip-tools", "sphinx", "tox"], | ||
}, | ||
package_data={ | ||
'simeon.upload': ['schemas/*.json'], | ||
'simeon.report': ['queries/*.sql'], | ||
'simeon.scripts': ['data/*.csv'], | ||
"simeon.upload": ["schemas/*.json"], | ||
"simeon.report": ["queries/*.sql"], | ||
"simeon.scripts": ["data/*.csv"], | ||
}, | ||
test_suite="simeon.tests", | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Environment :: Console', | ||
'Intended Audience :: Science/Research', | ||
'Natural Language :: English', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python', | ||
'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 :: Implementation :: CPython', | ||
'Topic :: Text Processing', | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Console", | ||
"Intended Audience :: Science/Research", | ||
"Natural Language :: English", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"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", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Text Processing", | ||
], | ||
) |