Metadata-Version: 2.1
Name: VSPacker
Version: 0.0.1
Summary: A simple library for automating ziping binary files for distribution in Visual Studio
Home-page: https://github.com/sean1832/vspacker.git
Author: Zeke Zhang
Classifier: Development Status :: 1 - Planning
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# Packer

Packer is a tool for packaging c# projects into a distributable zip file. It is designed to be used in a Post Build event in Visual Studio.

## Usage

```python
import vspacker.package_builder as builder

def main():
    project_directory = "path/to/project/dir"
    project_file = "path/to/project.csproj"
    bd = builder.AssemblyBuilder(project_directory, project_file)
    bd.build_zip(
        zip_filename=f"{bd.project_name}_v{bd.version}.zip",
        exclude_patterns=["RhinoCommon.dll", "Grasshopper.dll", "*.lic"],
        include_files=["LICENSE", "README.md"],
    )
    bd.package_example("AIARCH_example.gh")

if __name__ == "__main__":
    main()
```

