Skip to content

Commit

Permalink
Add _service to MANIFEST.in (#23)
Browse files Browse the repository at this point in the history
* Added _service to MANIFEST.in

* adding dir to manifest

* fixing packaging

Co-authored-by: Will Cunningham <[email protected]>
  • Loading branch information
kessler-frost and wjcunningham7 authored Jan 27, 2022
1 parent 89f21cd commit 95d03b7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.22.7] - 2022-01-27

### Added

- `MANIFEST.in` did not have `covalent_dispatcher/_service` in it due to which the PyPi package was not being built correctly. Added the `covalent_dispatcher/_service` to the `MANIFEST.in` file.

### Fixed

- setuptools properly including data files during installation

## [0.22.6] - 2022-01-26

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include VERSION
include requirements.txt
include covalent/executor/executor_plugins/*
include covalent_dispatcher/_service/*
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.22.6
0.22.7
15 changes: 2 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,6 @@ def run(self):
generate_docs.run(self.clean)


def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join("..", path, filename))
return paths


package_data_dirs = package_files("covalent_dispatcher/_service")
package_data_dirs += package_files("doc")
package_data_dirs += package_files("tests")

setup_info = {
"name": "cova",
"packages": find_packages(exclude=["tests"]),
Expand All @@ -82,7 +70,8 @@ def package_files(directory):
"include_package_data": True,
"zip_safe": False,
"package_data": {
"": package_data_dirs,
"covalent": ["executor/executor_plugins/local.py"],
"covalent_dispatcher": ["_service/app.py"],
},
"install_requires": required,
"classifiers": [
Expand Down

0 comments on commit 95d03b7

Please sign in to comment.