You can also specify that a dependency should be installed only for specific Python versions:
```toml
[dependencies]
pathlib2={version="^2.2",python="~2.7"}
```
```toml
[dependencies]
pathlib2={version="^2.2",python=["~2.7","^3.2"]}
```
### `scripts`
This section describe the scripts or executable that will be installed when installing the package
```toml
[scripts]
poet='poet:app.run'
```
Here, we will have the `poet` script installed which will execute `app.run` in the `poet` package.
### `features`
Poet supports features to allow expression of:
* optional dependencies, which enhance a package, but are not required; and
* clusters of optional dependencies.
```toml
[package]
name="awesome"
[features]
mysql=["mysqlclient"]
pgsql=["psycopg2"]
[dependencies]
# These packages are mandatory and form the core of this package’s distribution.
mandatory="^1.0"
# A list of all of the optional dependencies, some of which are included in the
# above `features`. They can be opted into by apps.
psycopg2={version="^2.7",optional=true}
mysqlclient={version="^1.3",optional=true}
```
When installing packages, you can specify features by using the `-f|--features` option:
```bash
poet install--features"mysql pgsql"
poet install-f mysql -f pgsql
```
### `entry_points`
Poet supports arbitrary [setuptools entry points](http://setuptools.readthedocs.io/en/latest/setuptools.html). To match the example in the setuptools documentation, you would use the following: