# Advice on creating packages in v0.7

**URL:** https://discourse.julialang.org/t/advice-on-creating-packages-in-v0-7/12010
**Category:** Internals & Design
**Tags:** package-manager
**Created:** [June 27, 2018, 7:36pm UTC](https://discourse.julialang.org/t/advice-on-creating-packages-in-v0-7/12010 "2018-06-27T19:36:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dmbates](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dmbates/32/44_2.png) [@dmbates](https://discourse.julialang.org/u/dmbates)
#### Post date: [June 27, 2018, 7:36pm UTC](https://discourse.julialang.org/t/advice-on-creating-packages-in-v0-7/12010/1 "2018-06-27T19:36:15Z")

</div>

Earlier in the day I was close to wingeing about how I couldn’t understand from the documentation how one was supposed to create a package for v0.7 with the new package manager.

I think I have figured it out and I am very impressed. @StefanKarpinski, @kristoffer.carlsson and the others who have worked on it should be proud of what they have accomplished. The transition is, understandably, rocky but the results are worth it.

My advice to others who are facing the problem of how to write a package for v0.7 is to forget everything you know about package creation in v0.6 and earlier and follow the examples in the section on “Creating your own packages” in the v0.7 manual. Create a tiny package with `Pkg.generate` and add some dependencies, then look at the contents of `Project.toml`. Eventually it will make sense.

It took me a while to realize (at least I hope this is true) that `REQUIRE` is not needed for a new package. I was misled by the mechanism for compatibility with earlier package styles.

---

<div class="post-metadata">

### Author: ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)
#### Post date: [June 28, 2018, 3:36am UTC](https://discourse.julialang.org/t/advice-on-creating-packages-in-v0-7/12010/2 "2018-06-28T03:36:56Z")

</div>

Relevant [link to doc](https://docs.julialang.org/en/latest/stdlib/Pkg/#Creating-your-own-packages-1). Thanks for the advice!

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [June 28, 2018, 5:45am UTC](https://discourse.julialang.org/t/advice-on-creating-packages-in-v0-7/12010/3 "2018-06-28T05:45:12Z")

</div>

I also found

```julia
shell> cd to/my/package/directory
pkg> init
pkg> add Dependency1
pkg> add Dependency2

```

very useful when converting existing packages. That’s basically all it took. (@ExpandingMan [wrote a tool](https://discourse.julialang.org/t/a-quick-and-dirty-tool-for-generating-project-toml/11375) for this.)

I am finding the transition to v0.7 rather smooth.
