-
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.
Update git workflow and package structure
- Package requirements now stored in setup.cfg - removed old text requirements files - updated workflow
- Loading branch information
Showing
6 changed files
with
41 additions
and
43 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,37 @@ | ||
[metadata] | ||
name = monthly-business-survey-results | ||
description = Public Sector local Python downloads and preprocessing package | ||
url = https://github.com/ONSdigital/monthly-business-survey-results | ||
version = 0.1.1 | ||
author = Office for National Statistics | ||
platforms = win32 | ||
classifiers = | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
|
||
[options] | ||
packages = | ||
mbs_results | ||
install_requires = | ||
pyyaml | ||
pandas | ||
numpy | ||
# rdsa-utils | ||
# raz-client | ||
# boto3 | ||
python_requires = >=3.6 | ||
zip_safe = no | ||
|
||
|
||
[options.extras_require] | ||
dev = | ||
coverage | ||
detect-secrets==1.0.3 | ||
myst-parser | ||
pre-commit | ||
pytest==7.0.1 | ||
Sphinx | ||
toml | ||
|
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,22 +1,4 @@ | ||
"""Setup script for creating package from code.""" | ||
from setuptools import setup | ||
|
||
from setuptools import find_packages, setup | ||
|
||
with open("requirements.txt") as f: | ||
requirements = f.read().splitlines() | ||
|
||
with open("requirements-dev.txt") as f: | ||
requirements_dev = f.read().splitlines() | ||
|
||
setup( | ||
name="monthly-business-survey-results", | ||
version="0.1.1", | ||
description="Public Sector local Python downloads and preprocessing package", | ||
url="https://github.com/ONSdigital/monthly-business-survey-results", | ||
packages=find_packages(), | ||
package_data={"": ["*.toml", "*.r", "*.R", "*.pem"]}, | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=requirements, | ||
extras_require={"dev": requirements_dev}, | ||
) | ||
if __name__ == "__main__": | ||
setup() |