Metadata-Version: 2.1
Name: upackage
Version: 0.3.1
Summary: Generate .unitypackage without Unity.
Home-page: https://github.com/AgeOfLearning/upackage
Author: Age of Learning
Author-email: leonid.umanskiy@aofl.com
License: MIT
Keywords: upackage
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# upackage

[pypi-build-status]: https://img.shields.io/pypi/v/upackage.svg
[travis-ci-status]: https://img.shields.io/travis/AgeOfLearning/upackage.svg

[![pypi][pypi-build-status]](https://pypi.python.org/pypi/upackage)
[![travis][travis-ci-status]](https://travis-ci.org/AgeOfLearning/upackage)

## About

upackage is a python module for generating *.unitypackage from source assets without unity.

## Install

```python
pip install upackage
```

## How to use
Given the following setup:
```
some/path/to/my/content/
some/path/to/my/content/code.dll
some/path/to/my/content/object.prefab
some/path/to/my/content/code.dll.mbd
```

The command will generate a package that installs the content of "some/path/to/my/content/" into "Assets/content/".
It uses the last folder name in the path as the containing folder for the assets.

```python
UPackage.preprocess_assets("some/path/to/my/content")
UPackage.generate_package("some/path/to/my/content", "output.unitypackage")
```

## Command Line Access
The tool also supports CLI access:
```bash
upackage some/path/to/my/content output.unitypackage
```


## MetaFiles
*.meta files will be generated if they do not exist for files & folders.

