I would use

```python
sources = ['%%(namelower)s.%s.source.tgz' % version.replace('.c','')]
```

but since you need string templates because of the `version.replace` anyway, it doesn't matter that much